elnormous / ouzel

C++ game engine for Windows, macOS, Linux, iOS, tvOS, Android, and web browsers
The Unlicense
990 stars 112 forks source link

is there a way to add a callback to animation sequence #13

Closed wenq1 closed 7 years ago

wenq1 commented 7 years ago

In cocos2dx it is possible to add a callback to the animation sequence, such as

CCSequence::create(ease, callBack, NULL)

Is it possible to do the same in Ouzel?

wenq1 commented 7 years ago

ah.. is finishHandler what I'm looking for ?

elnormous commented 7 years ago

Yes, if you need a callback to be called when the animation finishes.