public CCParallelState (CCParallel action, CCNode target) : base (action, target) { Actions = action.Actions; ActionStates = new CCFiniteTimeActionState[Actions.Length]; for (int i = 0; i < Actions.Length; i++) { ActionStates [i] = (CCFiniteTimeActionState)Actions [i].StartAction (target); } }
public CCParallelState(CCParallel action, CCNode target) : base(action, target) { Actions = action.Actions; ActionStates = new CCFiniteTimeActionState[Actions.Length]; for (int i = 0; i < Actions.Length; i++) { ActionStates [i] = (CCFiniteTimeActionState)Actions [i].StartAction(target); } }