Beispiel #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}");
 }
Beispiel #2
0
 public void RemoveGridTotals(GridTotals totals)
 {
 }
Beispiel #3
0
 public void AddGridTotals(GridTotals totals)
 {
 }
 public abstract void RemoveGridTotals(GridTotals totals);
 public abstract void AddGridTotals(GridTotals totals);
 public override void RemoveGridTotals(GridTotals totals)
 {
     Convert().RemoveGridTotals(totals);
 }
 public override void AddGridTotals(GridTotals totals)
 {
     Convert().AddGridTotals(totals);
 }
 public void RemoveGridTotals(GridTotals totals)
 {
     totals.TurningPowerModifier -= turningRate;
 }
 public void AddGridTotals(GridTotals totals)
 {
     totals.TurningPowerModifier += turningRate;
 }
Beispiel #10
0
 public void AddGridTotals(GridTotals totals)
 {
     totals.controllerData = this;
 }
Beispiel #11
0
 public void RemoveGridTotals(GridTotals totals)
 {
     totals.PowerConsumptionModifier -= powerConsumption;
 }
Beispiel #12
0
 public void AddGridTotals(GridTotals totals)
 {
     totals.PowerConsumptionModifier += powerConsumption;
 }
Beispiel #13
0
 public void RemoveGridTotals(GridTotals totals)
 {
     totals.PowerGenerationModifier -= powerGeneration;
 }
Beispiel #14
0
 public void AddGridTotals(GridTotals totals)
 {
     totals.PowerGenerationModifier += powerGeneration;
 }
Beispiel #15
0
 public void RemoveGridTotals(GridTotals totals)
 {
     totals.Mass -= mass;
     totals.Hull -= hull;
 }
Beispiel #16
0
 public void AddGridTotals(GridTotals totals)
 {
     totals.Mass += mass;
     totals.Hull += hull;
 }