Ejemplo n.º 1
0
 public void UpgradeNode(CreepingNodeImprovementDefinition upgrade)
 {
     this.RemoveImprovementDescriptors(this.NodeDefinition);
     this.RemoveConstructionCostDescriptor();
     DepartmentOfTheInterior.ClearFIMSEOnCreepingNode(this.Empire, this);
     this.NodeDefinition = upgrade;
     this.PointOfInterest.CreepingNodeImprovement = this.NodeDefinition;
     this.MaxLife = this.ConstructionTurns * this.NodeDefinition.GrowthPerTurn;
     this.AddConstructionCostDescriptor();
     if (!this.IsUnderConstruction)
     {
         this.CompleteUpgrade();
     }
 }
Ejemplo n.º 2
0
 public void ReApplyFIMSEOnCreepingNode()
 {
     DepartmentOfTheInterior.ClearFIMSEOnCreepingNode(this.Empire, this);
     DepartmentOfTheInterior.GenerateFIMSEForCreepingNode(this.Empire, this);
 }