@ -9,13 +9,14 @@ public class GameManager {
public int score = 0;
public boolean ghostIsEdible = false;
public boolean isPaused;
public final int ghostCount = 10;
public GameManager() {
setupGame();
}
public void setupGame(){
ghosts = new Ghost[4];
ghosts = new Ghost[ghostCount];
for (int i = 0; i < ghosts.length; i++) {
ghosts[i] = new Ghost(this, i);