From ff7075f7e28fe1f27e2458600dfeb3230ce7adb8 Mon Sep 17 00:00:00 2001 From: fdai2751 Date: Sun, 4 Feb 2024 18:12:10 +0100 Subject: [PATCH] added Pause fontion into gameManager --- src/main/java/pacmanGame/GameManager.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/pacmanGame/GameManager.java b/src/main/java/pacmanGame/GameManager.java index 2a1a3b2..af640fd 100644 --- a/src/main/java/pacmanGame/GameManager.java +++ b/src/main/java/pacmanGame/GameManager.java @@ -62,5 +62,9 @@ public class GameManager { } return false; } + public void Pause() { + isPaused = true; + + } }