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