playAnimation

fun playAnimation(times: Int = 1, spriteAnimation: SpriteAnimation? = currentAnimation, spriteDisplayTime: TimeSpan = getDefaultTime(spriteAnimation), startFrame: Int = -1, endFrame: Int = 0, reversed: Boolean = false)
fun playAnimation(spriteAnimation: SpriteAnimation? = currentAnimation, spriteDisplayTime: TimeSpan = getDefaultTime(spriteAnimation), startFrame: Int = -1, endFrame: Int = 0, reversed: Boolean = false)