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}"); }
public void RemoveGridTotals(GridTotals totals) { }
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; }
public void AddGridTotals(GridTotals totals) { totals.controllerData = this; }
public void RemoveGridTotals(GridTotals totals) { totals.PowerConsumptionModifier -= powerConsumption; }
public void AddGridTotals(GridTotals totals) { totals.PowerConsumptionModifier += powerConsumption; }
public void RemoveGridTotals(GridTotals totals) { totals.PowerGenerationModifier -= powerGeneration; }
public void AddGridTotals(GridTotals totals) { totals.PowerGenerationModifier += powerGeneration; }
public void RemoveGridTotals(GridTotals totals) { totals.Mass -= mass; totals.Hull -= hull; }
public void AddGridTotals(GridTotals totals) { totals.Mass += mass; totals.Hull += hull; }