private void AbandonBattle(BotClass winningBot) { this._winner = winningBot.Name; winningBot.AddWin(this._pointsToWin); RegisterBattleWinner(); }
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; }