The current animation frame.
the animation height in pixels.
the delay to wait before rendering the next frame.
ProtectedgetReturns the number of time units to wait before rendering the next frame.
The animation to play.
The next delay in time units.
the animation speed in milliseconds per time unit. Default is 50.
the animation width in pixels.
ProtectedinitInitializes the player. Called for initialization when player is created and each time it is reset.
The animation to play.
The base frame to start the animation with.
Advances the animation to the next frame.
ProtectednextCreates and returns the next frame in the animation.
The animation to play.
The current frame.
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.
Player for the ending animation.