public void SetRecharging(bool state) { Recharging = state; PowerPlant.ChangePower(state ? -RechargeCost : RechargeCost); }
public void SetRangeBoost(bool state) { RangeBoosted = state; PowerPlant.ChangePower(state ? -RangeBoostCost : RangeBoostCost); }