renderer-adapter.spriteanimation
Home > @eva/renderer-adapter > SpriteAnimation
SpriteAnimation class
Signature:export default class SpriteAnimation
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)({ frames }) | Constructs a new instance of the SpriteAnimation class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
animatedSprite | extras.AnimatedSprite | ||
speed | number |
Methods
Method | Modifiers | Description |
---|---|---|
gotoAndPlay(frameNumber) | ||
gotoAndStop(frameNumber) | ||
play() | ||
stop() |