Package gaiasky.util.gdx.model
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 TypeMethodDescriptionvoid
onEnd
(IntAnimationController.AnimationDesc animation) Gets called when an animation is completed.void
onLoop
(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.loopCount
is 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.
-