diff --git a/src/main/java/pacmanGame/GameManager.java b/src/main/java/pacmanGame/GameManager.java index c28aa8a..d7b9406 100644 --- a/src/main/java/pacmanGame/GameManager.java +++ b/src/main/java/pacmanGame/GameManager.java @@ -54,12 +54,17 @@ public class GameManager { public void Update() { visualizer.Update(); + if(!isPaused) { if(time%moveSpeed == 0) { player.Move(); + for(int i = 0; i