public LoseWhenAllPlayersUnitsAreDead(PlayerComponent player, ScenarioComponent scenario) { condition = new ConditionAllPlayerUnitsDead(this,player); this.scenario = scenario; action = new PlayerLoseAction(this, scenario); }
public LoseWhenAllPlayersUnitsAreDead(PlayerComponent player, ScenarioComponent scenario) { condition = new ConditionAllPlayerUnitsDead(this, player); this.scenario = scenario; action = new PlayerLoseAction(this, scenario); }
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); }