diff --git a/src/main/java/pacmanGame/GameManager.java b/src/main/java/pacmanGame/GameManager.java index 8d42687..3433aab 100644 --- a/src/main/java/pacmanGame/GameManager.java +++ b/src/main/java/pacmanGame/GameManager.java @@ -23,7 +23,11 @@ public class GameManager { visualizer = new VisualizerPlainText(this); player = new Player(this); player.Spawn(); + for (int i = 0; i < ghosts.length; i++) { + ghosts[i].spawn(); + } } + public void Update() { visualizer.Update(); if(time%5 == 0) {