public abstract class AnimationWaiter extends Object implements AnimationObserver
animationDidFinish(com.threerings.media.animation.Animation) and/or when all animations are
finished (see allAnimationsFinished().)| Constructor and Description |
|---|
AnimationWaiter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnimation(Animation anim)
Adds an animation to the animation waiter for observation.
|
void |
addAnimations(Animation[] anims)
Adds the supplied animations to the animation waiter for
observation.
|
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.
|
public void addAnimation(Animation anim)
public void addAnimations(Animation[] anims)
public void animationStarted(Animation anim, long when)
AnimationObserveranimationStarted in interface AnimationObserverpublic void animationCompleted(Animation anim, long when)
AnimationObserveranimationCompleted in interface AnimationObserverCopyright © 2015. All rights reserved.