From 164f4f38a90e4317f34231cc8ffd0e12a2f0824f Mon Sep 17 00:00:00 2001 From: fdai7753 Date: Wed, 7 Feb 2024 17:27:16 +0100 Subject: [PATCH] Implemented ghost spawn --- src/main/java/pacmanGame/Ghost.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/pacmanGame/Ghost.java b/src/main/java/pacmanGame/Ghost.java index 29704a4..40bc53d 100644 --- a/src/main/java/pacmanGame/Ghost.java +++ b/src/main/java/pacmanGame/Ghost.java @@ -21,6 +21,6 @@ public class Ghost { } public void spawn() { - //this.position = gameManager.map; + this.position = gameManager.map.ghostSpawns[ghostNumber]; } }