public bool AddFinishableCommand(IdContainer Container, IFinishableCommRecognizer Recognizer) { if (!FinishLastCommand()) { return(false); } LastAddedContainer = Container; LastCommRecognizer = Recognizer; DisableLastChild = false; Children.Add(Container); return(true); }
public void MarkFinished() { LastAddedContainer = null; LastCommRecognizer = null; }