Beispiel #1
0
        public void Execute(CGameAIManager _gameAIManager)
        {
            CArmy defendingArmy = _gameAIManager.GetDefendingArmy(this.targetCityID_, this.battle_.Armies[0]);

            this.battle_.AddArmy2(defendingArmy);

            //to implement ...
            // 1. Update this.battle_ until it is ended
            // 2. Update stats for two cities

            while (!this.battle_.IsBattleEnd)
            {
            }
        }
Beispiel #2
0
 public CArmy GetDefendingArmy(int _cityID, CArmy _attackingArmy)
 {
     return(this.gameAI_.GetDefendingArmy(this.game_, _cityID, _attackingArmy));
 }
Beispiel #3
0
 public CArmy GetDefendingArmy(CGame _game, int _cityID, CArmy _attackingArmy)
 {
     return(null);
 }