Exemple #1
0
 // 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());
 }