AnimatedSprite::setAnimationFrame()
Sets the current animation frame.
Syntax
Java
.setAnimationFrame(frame)
Parameters
| Name | Data Type | Description |
|---|---|---|
| frame | int | the current animation frame |
Return
void

Sets the current animation frame.
.setAnimationFrame(frame)
| Name | Data Type | Description |
|---|---|---|
| frame | int | the current animation frame |
void