mirror of
https://github.com/wassname/phaser.git
synced 2026-06-27 16:10:15 +08:00
833960b3c8
A single Animation object now has 3 new events: onStart, onLoop and onComplete. Animation.loopCount holds the number of times the animation has looped since it last started. Animation.stop has a new parameter: dispatchComplete. If true it'll dispatch an Animation.onComplete event.