Ramu 0.7b doc
class
SpriteAnimation : Drawable
Description
Displays an animation of sprites.
Constructor Parameters
int
x: Position in x.int
y: Position in y.int
width: Width.int
height: 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