548549550551552553554555556557558
final AnimatedSprite asprite = (AnimatedSprite) sprite; if (isAnimating()) { asprite.start(); } else { asprite.stop(); asprite.reset(); } } }