public override SolarState Next(SolarManager manager) { if (!manager.HasOutput(DuskToNightCutoff)) { return(new SolarStateReseting()); } return(null); }
public override SolarState Next(SolarManager manager) { if (manager.HasOutput(NightToDawnCutoff)) { return(new SolarStateIdlingDawn()); } return(null); }
protected override SolarState DelayedNext(SolarManager manager) { if (manager.HasOutput(DawnToDayCutoff) && manager.HasOutputDiminished()) { return(new SolarStateChasing()); } return(null); }