// 0,30 //27,29 public LevelStats(int levelNumber) { LevelNumber = levelNumber; PillsRemaining = _startingAmountOfPills; _currentMap = (char[])_map.Clone(); FruitSession = new FruitSession(); }
public void PillEaten(CellIndex cellPosition) { FruitSession.PillEaten(); --PillsRemaining; int index = cellPosition.Y * 29 + cellPosition.X; _currentMap[index] = '+'; }