|
@ -17,11 +17,13 @@ public class Cell { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public void triggerPill() { |
|
|
public void triggerPill() { |
|
|
|
|
|
this.type = "empty"; |
|
|
//todo: code |
|
|
//todo: code |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public void triggerFruit() { |
|
|
public void triggerFruit() { |
|
|
//todo: code |
|
|
|
|
|
|
|
|
this.type = "empty"; |
|
|
|
|
|
map.gameManager.score += 505; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public void triggerItem() { |
|
|
public void triggerItem() { |
|
@ -38,5 +40,4 @@ public class Cell { |
|
|
System.out.println("cell contains no item!"); |
|
|
System.out.println("cell contains no item!"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |