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