예제 #1
0
        public void PopAllStates()
        {
            if (StateStack.Count < 1)
            {
                return;
            }

            var first = StateStack.First();

            StateStack.Clear();

            Position = first.Position;
            Mode     = first.Mode;
        }