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