Example #1
0
 //4
 private void AddToCommands(BotCommand botCommand)
 {
     botCommands.Add(botCommand);
     //5
     uiManager.InsertNewText(botCommand.ToString());
 }
Example #2
0
 private void AddNewCommand(BotCommand botCommand)
 {
     undoStack.Clear();
     AddToCommands(botCommand);
 }