internal static void add_state(State state) { _states.Add(state); }
/// <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); }