// moves the player public void movePlayer(char aKey) { // tells the player to move System.out.println("Moving player"); player.movePlayer(aKey, this.getWidth(), this.getHeight()); }