예제 #1
0
 private void DeleteElement(Actions.ActionElement  element)
 {
     CollectionUtils.Clear(element.actions);
     actions.Remove(element.key);
 }
예제 #2
0
 private void RemoveAction(int index, Actions.ActionElement element)
 {
     CollectionUtils.RemoveAt(element.actions, index);
     if (element.actionIndex >= index)
     {
         element.actionIndex--;
     }
     if ((element.actions.Count == 0))
     {
         DeleteElement(element);
     }
 }
예제 #3
0
		private ActionControl() {
			actions = new Actions();
		}