What version of Rokon are you using?
2.0.3
On which version of Android are you experiencing this?
1.6
Previous engine versions have a method to capture the animation finished event,
but 2.03 has not.
example Rokon 1.x.x
final Sprite explosionSprite = new Sprite(x, y, explosionTexture);
explosionSprite.setAnimationHandler(new AnimationHandler() {
@Override
public void finished(Sprite sprite) {
rokon.removeSprite(sprite);
}
});
rokon.addSprite(explosionSprite);
explosionSprite.animate(1, 25, 35, 1, false);
The problem is that in 2.0.3 version of the Engine the method
setAnimationHandler is mising.
Expected:
Some mechanism to handle when an animation is finished
Original issue reported on code.google.com by daniru...@gmail.com on 28 Aug 2010 at 3:43
Original issue reported on code.google.com by
daniru...@gmail.com
on 28 Aug 2010 at 3:43