Interface IntAnimationController.AnimationListener
- Enclosing class:
IntAnimationController
public static interface IntAnimationController.AnimationListener
Listener that will be informed when an animation is looped or completed.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonEnd(IntAnimationController.AnimationDesc animation) Gets called when an animation is completed.voidonLoop(IntAnimationController.AnimationDesc animation) Gets called when an animation is looped.
-
Method Details
-
onEnd
Gets called when an animation is completed.- Parameters:
animation- The animation which just completed.
-
onLoop
Gets called when an animation is looped. TheIntAnimationController.AnimationDesc.loopCountis updated prior to this call and can be read or written to alter the number of remaining loops.- Parameters:
animation- The animation which just looped.
-