edu.cmu.sun.animation
Interface AnimationAction
- All Known Implementing Classes:
- ColumnGlueView
public interface AnimationAction
An interface for any object which can perform an animation action.
This interface is used in ScheduledAnimationAction to allow a class
to be called back when it is time to perform an animation.
- Author:
- Braden Kowitz
|
Method Summary |
void |
doAnimationAction(Component3D target,
int duration)
The implementing class shoud perform an animation on the
provided target, for a specified duration. |
doAnimationAction
void doAnimationAction(Component3D target,
int duration)
- The implementing class shoud perform an animation on the
provided target, for a specified duration.
This function should perform animations immediately on
the target object.
- Parameters:
target - The target Component3D to be animatiedduration - The duration of the animation, in msec.