public void Push(GameState State) { State.StateManager = this; StateStack.Peek()?.Pause(); StateStack.Push(State); State.Enter(); }
static void AppendString(string Str) { ConsoleLines.Push(ConsoleLines.Pop() + Str); System.Console.Write(Str); }