diff --git a/src/main/java/pacmanGame/GameManager.java b/src/main/java/pacmanGame/GameManager.java index 5ac9fcb..117c264 100644 --- a/src/main/java/pacmanGame/GameManager.java +++ b/src/main/java/pacmanGame/GameManager.java @@ -23,6 +23,9 @@ public class GameManager { } public void Update() { visualizer.Update(); + if(time%5 == 0) { + player.Move(); + } time++; }