com.threerings.media.animation
Interface AnimationObserver

All Known Subinterfaces:
SequencedAnimationObserver
All Known Implementing Classes:
AnimationAdapter, AnimationSequencer.AnimRecord, AnimationWaiter

public interface AnimationObserver

An interface to be implemented by classes that would like to observe an Animation and be notified of interesting events relating to it.


Method Summary
 void animationCompleted(Animation anim, long when)
          Called when the observed animation has completed.
 void animationStarted(Animation anim, long when)
          Called the first time this animation is ticked.
 

Method Detail

animationStarted

void animationStarted(Animation anim,
                      long when)
Called the first time this animation is ticked.


animationCompleted

void animationCompleted(Animation anim,
                        long when)
Called when the observed animation has completed.