@ -37,7 +37,7 @@ public class Cell {
triggerFruit();
}
else {
System.out.println("cell contains no item!");
//System.out.println("cell contains no item!");
@ -28,9 +28,16 @@ public class GameManager {
if(time%5 == 0) {
player.Move();
if(time == 300) {
spawnCherry();
time++;
public void spawnCherry() {
map.GetCell(map.playerSpawn).type = "cherry";
public void ProcessInput(char inputChar) {
if(inputChar == 27) {
//todo: escape key pauses game