public static void PushState(State state) { states.Add(state); state.Enter(); }
/// <summary> /// Pushes a state onto the state stack. /// </summary> public static void PushState(State state) { StateStack.Add(state); state.Enter(); }