예제 #1
0
 public void RestoreOldState()
 {
     if (states.Count > 0)
     {
         ResolverState rs = states.Pop();
         rs.Restore(this);
     }
 }
예제 #2
0
 public void CreateNewState()
 {
     states.Push(ResolverState.Create(this));
 }