The main method for drawing an animation object.
The main method for drawing an animation object.
1 number x
the X position.
2 number y
the Y position.
3 number rotation
the rotation of the sprite.
4 number scaleX
the size scale on the X axis.
5 number scaleY
the size scale on the Y axis.
6 number offsetX
the center offset on the X axis.
7 number offsetY
the center offset on the Y axis.