AnimatedSprite::playAnimation()
Plays the animation with the specified name.
Syntax
Java
.playAnimation(name)
.playAnimation(name, once)
Parameters
| Name | Data Type | Description |
|---|---|---|
| name | String | the name of the animation to play |
| once | boolean | whether to play the animation once |
Return
void
