Exemplo n.º 1
0
        public bool IncreaseLevel(GameLogic gameLogic)
        {
            if (gameLogic.Pellets.Pellets.Count == 0 && gameLogic.Pellets.SuperPellets.Count == 0)
            {
                return true;
            }

            return false;
        }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
 public Form1()
 {
     InitializeComponent();
     gameLogic = new GameLogic();
 }