Added the onPerformedFrameAnimation to the IAnimationListener #9

Merged
merged 3 commits into from Jan 15, 2012

Projects

None yet

2 participants

@MakersF
Contributor
MakersF commented Jan 14, 2012

I needed to start an action at the execution of a specific frame, not at the end of the animation, so i added this.
I think it may be useful to others too.

(i didn't know how to remove the .project commit. If you prefer here you'll find tha patch with the right commit http://pastebin.com/C5zp3WTe )

@nicolasgramlich nicolasgramlich merged commit 70b36e1 into nicolasgramlich:GLES2 Jan 15, 2012
@nicolasgramlich
Owner

Thanks, looks good. I'll adjust the method naming of the whole listener a bit =)

@MakersF
Contributor
MakersF commented Jan 15, 2012

Ok, no problem!
Just a note: before committing i always tried it with animations that had
the IAnimationListener, but if you try to run it without one you'll get a
NullPointerException at line 130. Just add a check as you do a few lines
down. Sorry for not noticing it before committing

@nicolasgramlich
Owner

Already added it :)

@nicolasgramlich
Owner

FYI, I furtherly refined the IAnimationListener in @8447b5b . =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment