Browse Source

refactoring: Fixed uninitialized player coordinate

remotes/origin/menu
fdai7753 11 months ago
parent
commit
5c7f5879d1
  1. 1
      src/main/java/pacmanGame/Player.java

1
src/main/java/pacmanGame/Player.java

@ -7,6 +7,7 @@ public class Player {
public Player(GameManager gameManager) {
this.gameManager = gameManager;
this.position = new Vector2(2,2);
}
public void Move() {

Loading…
Cancel
Save