Package com.jme3.animation
Interface AnimEventListener
Deprecated.
AnimEventListener
allows user code to receive various
events regarding an AnimControl. For example, when an animation cycle is done.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onAnimChange
(AnimControl control, AnimChannel channel, String animName) Deprecated.Invoked when an animation is set to play by the user on the given channel.void
onAnimCycleDone
(AnimControl control, AnimChannel channel, String animName) Deprecated.Invoked when an animation "cycle" is done.
-
Method Details
-
onAnimCycleDone
Deprecated.Invoked when an animation "cycle" is done. For non-looping animations, this event is invoked when the animation is finished playing. For looping animations, this event is invoked each time the animation is restarted.- Parameters:
control
- The control to which the listener is assigned.channel
- The channel being alteredanimName
- The new animation that is done.
-
onAnimChange
Deprecated.Invoked when an animation is set to play by the user on the given channel.- Parameters:
control
- The control to which the listener is assigned.channel
- The channel being alteredanimName
- The new animation name set.
-