Exemplo n.º 1
0
 public BattleSidePreparation(ScoutingEffects scouting, RaidingEffects raiding, LogisticalEffects logistic, SpyingEffects spying)
 {
     Scouting = scouting;
     Raiding  = raiding;
     Logistic = logistic;
     Spying   = spying;
 }
Exemplo n.º 2
0
    public BattlePreparation(FactionArmies attacker, FactionArmies defender, BattleSite site)
    {
        ScoutingEffects   attackerScout     = new ScoutingEffects(attacker, defender);
        ScoutingEffects   defenderScout     = new ScoutingEffects(defender, attacker);
        SpyingEffects     attackerSpies     = new SpyingEffects(attacker);
        SpyingEffects     defenderSpies     = new SpyingEffects(defender);
        RaidingEffects    raiding           = new RaidingEffects(attacker, site);
        LogisticalEffects attackerLogistics = new LogisticalEffects(attacker);
        LogisticalEffects defenderLogistics = new LogisticalEffects(defender);

        Attacker = new BattleSidePreparation(attackerScout, raiding, attackerLogistics, attackerSpies);
        Defender = new BattleSidePreparation(defenderScout, RaidingEffects.Defender, defenderLogistics, defenderSpies);
    }