Пример #1
0
 public void SetBuildCost()
 {
     BuildCostFormula.Evaluate();
     _design.IndustryPointCosts = BuildCostFormula.IntResult;
 }
Пример #2
0
 public void SetCreditCost()
 {
     CreditCostFormula.Evaluate();
     _design.CreditCost = CreditCostFormula.IntResult;
 }
Пример #3
0
 public void SetCrew()
 {
     CrewFormula.Evaluate();
     _design.CrewReq = CrewFormula.IntResult;
 }
Пример #4
0
 public void SetResearchCost()
 {
     ResearchCostFormula.Evaluate();
     _design.ResearchCostValue = ResearchCostFormula.IntResult;
 }
Пример #5
0
 public void SetHTK()
 {
     HTKFormula.Evaluate();
     _design.HTK = HTKFormula.IntResult;
 }
Пример #6
0
 public void SetVolume()
 {
     VolumeFormula.Evaluate();
     _design.Volume = VolumeFormula.IntResult;
 }
Пример #7
0
 public void SetMass()
 {
     MassFormula.Evaluate();
     _design.Mass = MassFormula.IntResult;
 }
Пример #8
0
 public void SetVolume()
 {
     VolumeFormula.Evaluate();
     _design.VolumePerUnit = VolumeFormula.IntResult;
     _design.Density       = _design.MassPerUnit / _design.VolumePerUnit;
 }
Пример #9
0
 public void SetBuildCost()
 {
     BuildCostFormula.Evaluate();
     _design.BuildPointCost = BuildCostFormula.IntResult;
 }