Пример #1
0
        public GameState Pop()
        {
            GameState S = StateStack.Pop();

            S.Exit();
            StateStack.Peek()?.Resume();
            return(S);
        }
Пример #2
0
 static void AppendString(string Str)
 {
     ConsoleLines.Push(ConsoleLines.Pop() + Str);
     System.Console.Write(Str);
 }