Пример #1
0
        public bool IncreaseLevel(GameLogic gameLogic)
        {
            if (gameLogic.Pellets.Pellets.Count == 0 && gameLogic.Pellets.SuperPellets.Count == 0)
            {
                return true;
            }

            return false;
        }
Пример #2
0
        public void Can_Increase_Level()
        {
            GameLevel gameLevel = new GameLevel();
            GameLogic gameLogic = new GameLogic();
            Enemy enemy = new Enemy();

            bool value = gameLevel.IncreaseLevel(gameLogic);

            Assert.AreEqual(value, false);
        }
Пример #3
0
 public Form1()
 {
     InitializeComponent();
     gameLogic = new GameLogic();
 }