Пример #1
0
 public Upgrade(UpgradeTemplate template)
 {
     Template = template;
 }
Пример #2
0
 public ProductionJob(UpgradeTemplate definition)
 {
     UpgradeDefinition = definition;
     Type      = ProductionJobType.Upgrade;
     _duration = (int)(definition.BuildTime * 1000.0f);
 }
Пример #3
0
 public ProductionJob(UpgradeTemplate definition)
 {
     UpgradeDefinition = definition;
     Type      = ProductionJobType.Upgrade;
     _duration = definition.BuildTime.Value;
 }