Beispiel #1
0
 public static void PushState(State state)
 {
     stateStack.Push(state);
 }
Beispiel #2
0
 public static void ChangeState(State state)
 {
     stateStack.Pop();
     stateStack.Push(state);
 }