com.threerings.opengl.model
Class AnimationAdapter
java.lang.Object
com.threerings.opengl.model.AnimationAdapter
- All Implemented Interfaces:
- AnimationObserver
- Direct Known Subclasses:
- ModelAdapter
public class AnimationAdapter
- extends Object
- implements AnimationObserver
An adapter class for AnimationObserver.
AnimationAdapter
public AnimationAdapter()
animationStarted
public boolean animationStarted(Animation animation)
- Description copied from interface:
AnimationObserver
- Notes that an animation has started.
- Specified by:
animationStarted in interface AnimationObserver
- Returns:
- true to keep the observer in the list, false to remove it.
animationStopped
public boolean animationStopped(Animation animation,
boolean completed)
- Description copied from interface:
AnimationObserver
- Notifies the observer that the animation has stopped.
- Specified by:
animationStopped in interface AnimationObserver
completed - whether or not the animation ran to completion (as opposed to being
cancelled).
- Returns:
- true to keep the observer in the list, false to remove it.
Copyright © 2011. All Rights Reserved.