Creates a new action that is repeats the passed in action a fixed number of times.
var myLoop = new ActionRepeat(myAction);
Source
ActionRepeat(this.action, this.numRepeats) { _duration = action.duration * numRepeats; }
Creates a new action that is repeats the passed in action a fixed number of times.
var myLoop = new ActionRepeat(myAction);
ActionRepeat(this.action, this.numRepeats) { _duration = action.duration * numRepeats; }