public TuningAlteration(CleanableComponent.Tuning tuning, float factor, float minimum) : base(factor, minimum) { mTuning = tuning; }
public DirtyAlteration(CleanableComponent.Tuning tuning, float factor) : base(tuning, factor, sDefaultMinimum) { }
public CleaningAlteration(CleanableComponent.Tuning tuning, float factor) { // Cleaning gets faster as speed goes down Add(new DirtyAlteration(tuning, 1f / factor)); Add(new UpgradeAlteration(tuning.UpgradeSelfCleaning, factor)); }