Creates a new player for the given ending animation.
The end animation to play
Callback to call on each frame update. This callback is responsible for actually showing the animation frame to the user.
Returns the current animation frame.
The current animation frame.
Returns the animation height in pixels.
The animation height in pixels.
Returns the delay to wait before rendering the next frame.
The next delay in milliseconds.
Returns the animation speed in milliseconds per time unit. Default is 50.
The animation speed in milliseconds per time unit.
Returns the animation width in pixels.
The animation width in pixels.
Advances the animation to the next frame.
Stops and resets the animation to the base frame.
Sets the animation speed in milliseconds per time unit. Default is 50.
The animation speed to set.
Starts the animation if not already running.
Stops the animation if currently running.
Generated using TypeDoc
Player for the ending animation.