Ramu 0.7b doc
class SpritesheetAnimation : SpriteAnimation
Description
Displays an animation using sheets of an image.
Constructor Parameters
Image Objectimg: The image.intx: Position in x.inty: Position in y.intwidth: Width.intheight: Height.let img = Ramu.Utils.getImage("image.png"); let sa = new SpritesheetAnimation(img,10,10,10,10); sa.addFrame(new Rect(0,0,5,5));
Properties
Public Methods
Inherited Members
- animationIsOver
- animationPause
- animationTime
- canDestroy
- canDraw
- canUpdate
- destroy
- draw
- drawOutOfCanvas
- drawPriority
- flipHorizontally
- flipVertically
- height
- opacity
- playInLoop
- setActive
- start
- tag
- toRect
- update
- updatePriority
- width
- x
- y