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