Moved controller implementation out of the Player class and into the
controller class.