Description
class Sprite
Constructor
new Sprite(name, manager)
Parameters
Members
name : string
width : number
height : number
angle : number
cellIndex : number
invertU : number
invertV : number
disposeWhenFinishedAnimating : boolean
isPickable : boolean
size : number
Methods
playAnimation(from, to, loop, delay, onAnimationEnd) → void
Parameters
|
Name |
Type |
Description |
|
from |
number |
|
|
to |
number |
|
|
loop |
boolean |
|
|
delay |
number |
|
stopAnimation() → void
dispose() → void