Example #1
0
 internal static void add_state(State state)
 {
     _states.Add(state);
 }
Example #2
0
 /// <summary>Enqueues a state for termination. state.on_terminate will be called at the end of tick</summary>
 public static void terminate_state(State state)
 {
     if (!_sdl.Contains(state))
         _sdl.Add(state);
 }