Browse Source

Implemented ghost spawn

remotes/origin/ghostsbehaviour
fdai7753 11 months ago
parent
commit
164f4f38a9
  1. 2
      src/main/java/pacmanGame/Ghost.java

2
src/main/java/pacmanGame/Ghost.java

@ -21,6 +21,6 @@ public class Ghost {
} }
public void spawn() { public void spawn() {
//this.position = gameManager.map;
this.position = gameManager.map.ghostSpawns[ghostNumber];
} }
} }
Loading…
Cancel
Save