Atlantis.SpriteAnimation Class
A sprite animation define an animation which is a group of frames An animation is a serie of rectangle on a spritesheet
Constructor
Methods
next
()
Atlantis.Rectangle
Gets the next available frame of the animation.
Returns:
Atlantis.Rectangle:
Return the next frame of the animation.
update
()
Update animation index relative to time.