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