示例#1
0
        private void AbandonBattle(BotClass winningBot)
        {
            this._winner = winningBot.Name;
            winningBot.AddWin(this._pointsToWin);

            RegisterBattleWinner();
        }
示例#2
0
        public GameClass(BotClass bot1, BotClass bot2, int maxRounds, int pointToWin, int dynamite)
        {
            this._maxRounds   = maxRounds;
            this._pointsToWin = pointToWin;
            this._dynamite    = dynamite;

            this._bot1 = bot1;
            this._bot2 = bot2;
        }