示例#1
0
 private void Render(GridTotals totals)
 {
     massView.SetValue($"{totals.Mass:0} Tonne");
     hullView.SetValue($"{totals.Hull:0}");
     energyView.SetValue($"{totals.PowerGenerationModifier:0}");
     turningPower.SetValue($"{totals.TurningPowerModifier:0}");
 }
示例#2
0
 public void RemoveGridTotals(GridTotals totals)
 {
 }
示例#3
0
 public void AddGridTotals(GridTotals totals)
 {
 }
示例#4
0
 public abstract void RemoveGridTotals(GridTotals totals);
示例#5
0
 public abstract void AddGridTotals(GridTotals totals);
示例#6
0
 public override void RemoveGridTotals(GridTotals totals)
 {
     Convert().RemoveGridTotals(totals);
 }
示例#7
0
 public override void AddGridTotals(GridTotals totals)
 {
     Convert().AddGridTotals(totals);
 }
示例#8
0
 public void RemoveGridTotals(GridTotals totals)
 {
     totals.TurningPowerModifier -= turningRate;
 }
示例#9
0
 public void AddGridTotals(GridTotals totals)
 {
     totals.TurningPowerModifier += turningRate;
 }
示例#10
0
 public void AddGridTotals(GridTotals totals)
 {
     totals.controllerData = this;
 }
示例#11
0
 public void RemoveGridTotals(GridTotals totals)
 {
     totals.PowerConsumptionModifier -= powerConsumption;
 }
示例#12
0
 public void AddGridTotals(GridTotals totals)
 {
     totals.PowerConsumptionModifier += powerConsumption;
 }
示例#13
0
 public void RemoveGridTotals(GridTotals totals)
 {
     totals.PowerGenerationModifier -= powerGeneration;
 }
示例#14
0
 public void AddGridTotals(GridTotals totals)
 {
     totals.PowerGenerationModifier += powerGeneration;
 }
示例#15
0
 public void RemoveGridTotals(GridTotals totals)
 {
     totals.Mass -= mass;
     totals.Hull -= hull;
 }
示例#16
0
 public void AddGridTotals(GridTotals totals)
 {
     totals.Mass += mass;
     totals.Hull += hull;
 }