Animated sprite sheet
Derived from: ImageSprite
OperationsAdds a clip
method : public : AddClip(clip:Rect) ~ Nil
Name | Type | Description |
---|---|---|
clip | Rect | clip |
Get number of clips used in the sprite sheet
method : public : GetClipCount() ~ Int
Type | Description |
---|---|
Int | number of clips |
Renders sprite
method : public : Render(x:Int, y:Int, index:Int) ~ Nil
Name | Type | Description |
---|---|---|
x | Int | x-position |
y | Int | y-position |
index | Int | sprite image index |
Renders sprite
method : public : Render(index:Int) ~ Nil
Name | Type | Description |
---|---|---|
index | Int | sprite image index |