com.threerings.media.animation
Class AnimationAdapter

java.lang.Object
  extended by com.threerings.media.animation.AnimationAdapter
All Implemented Interfaces:
AnimationObserver
Direct Known Subclasses:
AnimationSequencer.AnimRecord

public class AnimationAdapter
extends Object
implements AnimationObserver

An adapter class for AnimationObserver.


Constructor Summary
AnimationAdapter()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnimationAdapter

public AnimationAdapter()
Method Detail

animationStarted

public void animationStarted(Animation anim,
                             long when)
Description copied from interface: AnimationObserver
Called the first time this animation is ticked.

Specified by:
animationStarted in interface AnimationObserver

animationCompleted

public void animationCompleted(Animation anim,
                               long when)
Description copied from interface: AnimationObserver
Called when the observed animation has completed.

Specified by:
animationCompleted in interface AnimationObserver