The game image manager
Get the index of the current frame displayed by the animation
newFrame The index of the frame being displayed
Get the index of the animation being played.
Get the name of the animation being played.
Returns the current frame or null if the current animation doesn't have any frame.
Return true if animation has ended. The animation had ended if:
Set the elapsed time from the start of the animation in seconds.
Change the current frame displayed by the animation
The index of the frame to be displayed
Change the animation being played.
Change the animation being played.
Change the angle (or direction index) of the object
Register a listener to frame changes.
It's useful for custom objects as they don't drive this class themselves.
Called each time getCurrentFrame changes.
Update the current frame of the object according to the elapsed time on the scene.
in seconds
Generated using TypeDoc
Image-base animation model.