Пример #1
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);
 }