From 9513c58b9cf7a421e1d7c6c956cfba443f16a524 Mon Sep 17 00:00:00 2001 From: fdai7910 Date: Sun, 4 Feb 2024 19:33:34 +0100 Subject: [PATCH] changed pill functionality in Cell --- src/main/java/pacmanGame/Cell.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/pacmanGame/Cell.java b/src/main/java/pacmanGame/Cell.java index b9dcb48..a077a59 100644 --- a/src/main/java/pacmanGame/Cell.java +++ b/src/main/java/pacmanGame/Cell.java @@ -21,7 +21,7 @@ public class Cell { this.type = "empty"; gameManager.score += 100; int timeStopPillEffect = gameManager.time + 200; - //ghost.triggerPillEffect(timeStopPillEffect); + gameManager.ghostIsEdible = true; } public void triggerFruit() {