public class MotionAnimation
extends java.lang.Object
Motion
and an Animation
.Constructor and Description |
---|
MotionAnimation(ej.mwt.animation.Animator animator,
ej.motion.Motion motion,
MotionAnimationListener listener)
Creates a motion animation.
|
Modifier and Type | Method and Description |
---|---|
void |
start()
Starts (or restarts) this motion animation.
|
void |
stop()
Stops this motion animation.
|
public MotionAnimation(ej.mwt.animation.Animator animator, ej.motion.Motion motion, MotionAnimationListener listener)
animator
- the animator instance with which the animation will be executed.motion
- the motion of the animation.listener
- the listener to notify during the animation.