Browse Source

added functionality to triggerDot function

remotes/origin/menu
fdai7910 11 months ago
parent
commit
376742e0c9
  1. 3
      src/main/java/pacmanGame/Cell.java

3
src/main/java/pacmanGame/Cell.java

@ -12,7 +12,8 @@ public class Cell {
} }
public void triggerDot() { public void triggerDot() {
//todo: code
this.type = "empty";
map.gameManager.score += 10;
} }
public void triggerPill() { public void triggerPill() {

Loading…
Cancel
Save