Browse Source

changed pill functionality in Cell

remotes/origin/player
fdai7910 11 months ago
parent
commit
9513c58b9c
  1. 2
      src/main/java/pacmanGame/Cell.java

2
src/main/java/pacmanGame/Cell.java

@ -21,7 +21,7 @@ public class Cell {
this.type = "empty"; this.type = "empty";
gameManager.score += 100; gameManager.score += 100;
int timeStopPillEffect = gameManager.time + 200; int timeStopPillEffect = gameManager.time + 200;
//ghost.triggerPillEffect(timeStopPillEffect);
gameManager.ghostIsEdible = true;
} }
public void triggerFruit() { public void triggerFruit() {

Loading…
Cancel
Save