Example #1
0
        public bool AddFinishableCommand(IdContainer Container, IFinishableCommRecognizer Recognizer)
        {
            if (!FinishLastCommand())
            {
                return(false);
            }

            LastAddedContainer = Container;
            LastCommRecognizer = Recognizer;

            DisableLastChild = false;
            Children.Add(Container);
            return(true);
        }
Example #2
0
 public void MarkFinished()
 {
     LastAddedContainer = null;
     LastCommRecognizer = null;
 }