Esempio n. 1
0
 public static void Tick(GState state, GTime now)
 {
     if (state.Enable)
     {
         state.Tick(now);
     }
     else
     {
         throw new Exception("You can't tick a state before you start it.");
     }
 }