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