org.xith3d.loop.opscheduler
Interface Animatable
- All Superinterfaces:
- ScheduledOperation, Updatable
- All Known Implementing Classes:
- AnimatableGroup, Bullet, BunchAnimatable, GroupAnimator, GroupRotator, GroupTranslator, RotatableGroup, TranslatableGroup
public interface Animatable
- extends ScheduledOperation
This interface can be used for objects to be automatically beeing animated
by the render loop.
See RotatableGroup for an example on how to use it.
isAnimating
boolean isAnimating()
- Returns:
- is this object's animation running
startAnimation
void startAnimation(long gameTime,
UpdatingThread.TimingMode timingMode)
- Starts the animation of this object.
stopAnimation
void stopAnimation()
- Stops the animation of this object.