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