Beispiel #1
0
 private void DeleteElement(Actions.ActionElement  element)
 {
     CollectionUtils.Clear(element.actions);
     actions.Remove(element.key);
 }
Beispiel #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);
     }
 }
Beispiel #3
0
		private ActionControl() {
			actions = new Actions();
		}