Ramu 0.7b doc
class
SpritesheetAnimation : SpriteAnimation
Description
Displays an animation using sheets of an image.
Constructor Parameters
Image Object
img: The image.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 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