Browse Source

Fixed uninitialized position attribute in Ghost

remotes/origin/menu
fdai2751 11 months ago
parent
commit
e85024943e
  1. 1
      src/main/java/pacmanGame/Ghost.java

1
src/main/java/pacmanGame/Ghost.java

@ -6,6 +6,7 @@ public class Ghost {
public Ghost(GameManager gameManager) {
this.gameManager = gameManager;
this.position = new Vector2(-1, -1);
}
}
Loading…
Cancel
Save