Example #1
0
 public static Axe AxeAfter(this Axe a)
 {
     return(Axes.Where(m => m.InTime && !m.InTurret && m.TimeLeft > a.TimeLeft).OrderBy(m => m.TimeLeft).FirstOrDefault());
 }
Example #2
0
 public static Axe AxeBefore(this Axe a)
 {
     return(Axes.Where(m => m.InTime && !m.InTurret && m.TimeLeft < a.TimeLeft).OrderBy(m => m.TimeLeft).LastOrDefault());
 }
Example #3
0
 public static bool IsFirst(this Axe a)
 {
     return(FirstAxe == a);
 }