Exemple #1
0
        // 0,30                   //27,29


        public LevelStats(int levelNumber)
        {
            LevelNumber = levelNumber;

            PillsRemaining = _startingAmountOfPills;
            _currentMap    = (char[])_map.Clone();

            FruitSession = new FruitSession();
        }
Exemple #2
0
        public void PillEaten(CellIndex cellPosition)
        {
            FruitSession.PillEaten();

            --PillsRemaining;

            int index = cellPosition.Y * 29 + cellPosition.X;

            _currentMap[index] = '+';
        }