Exemple #1
0
 public void RemoveAction(ActionState state)
 {
     Application.Current.ActionManager.RemoveAction(state);
 }
Exemple #2
0
 public override void Update(float time)
 {
     ActionState.Update(time);
 }
Exemple #3
0
		public void RemoveAction(ActionState actionState)
		{
			if (actionState == null || actionState.OriginalTarget == null)
			{
				return;
			}

			var target = actionState.OriginalTarget;
			HashElement element;
			if (targets.TryGetValue(target, out element))
			{
				int i = element.ActionStates.IndexOf(actionState);

				if (i != -1)
				{
					RemoveActionAtIndex(i, element);
				}
			}
		}
Exemple #4
0
 protected internal override void Stop()
 {
     ActionState.Stop();
 }