예제 #1
0
 public TuningAlteration(CleanableComponent.Tuning tuning, float factor, float minimum)
     : base(factor, minimum)
 {
     mTuning = tuning;
 }
예제 #2
0
 public DirtyAlteration(CleanableComponent.Tuning tuning, float factor)
     : base(tuning, factor, sDefaultMinimum)
 { }
예제 #3
0
 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));
 }