Stops the current animation from playing after the given number of repeats.
It then dispatches the
If no animation is running, no events will be dispatched.
If there is another animation in the queue (set via the
chain method) then it will start playing,
when the current one stops.
How many times should the animation repeat before stopping?
This Game Object.