public LoseWhenAllPlayersUnitsAreDead(PlayerComponent player, ScenarioComponent scenario)
        {
            condition = new ConditionAllPlayerUnitsDead(this,player);
            this.scenario = scenario;

            action = new PlayerLoseAction(this, scenario);
        }
Example #2
0
        public LoseWhenAllPlayersUnitsAreDead(PlayerComponent player, ScenarioComponent scenario)
        {
            condition     = new ConditionAllPlayerUnitsDead(this, player);
            this.scenario = scenario;

            action = new PlayerLoseAction(this, scenario);
        }
Example #3
0
 public WinWhenAllEnemyUnitsDead(PlayerComponent enemy, ScenarioComponent scenario)
 {
     condition     = new ConditionAllPlayerUnitsDead(this, enemy);
     this.scenario = scenario;
     action        = new PlayerWinAction(this, scenario);
 }
 public WinWhenAllEnemyUnitsDead(PlayerComponent enemy, ScenarioComponent scenario)
 {
     condition = new ConditionAllPlayerUnitsDead(this,enemy);
     this.scenario = scenario;
     action = new PlayerWinAction(this, scenario);
 }