コード例 #1
0
 public StrategicVictoryConditions(Actor self, StrategicVictoryConditionsInfo svcInfo)
 {
     info      = svcInfo;
     TicksLeft = info.TicksToHold;
     player    = self.Owner;
     mo        = self.Trait <MissionObjectives>();
 }
コード例 #2
0
 public StrategicVictoryConditions(Actor self, StrategicVictoryConditionsInfo svcInfo)
 {
     info      = svcInfo;
     TicksLeft = info.HoldDuration;
     player    = self.Owner;
     mo        = self.Trait <MissionObjectives>();
     shortGame = player.World.WorldActor.Trait <MapOptions>().ShortGame;
 }