Esempio n. 1
0
        /// <summary>
        /// Called by the action editor to update an entry.
        /// </summary>
        public void UserChangedData(ActionEditor editor, ActionQualifier qualifier, string action)
        {
            int index = _actionEditors.IndexOf(editor);

            _patchController.UpdateActionTo(index, qualifier, action);
        }
Esempio n. 2
0
        /// <summary>
        /// Called by the action editor to remove an entry as it is no longer relevant.
        /// </summary>
        public void RemoveAction(ActionEditor editor)
        {
            int index = _actionEditors.IndexOf(editor);

            _patchController.RemoveActionAt(index);
        }
Esempio n. 3
0
 private void RemoveActionEditor(ActionEditor actionEditor)
 {
     _actionEditors.Remove(actionEditor);
     actionEditor.QueueFree();
 }