Package org.vanted.animation.animations
Class Position2DAnimation
java.lang.Object
org.vanted.animation.Animation<T>
org.vanted.animation.ContinuousAnimation<Point2DTimePoint>
org.vanted.animation.animations.Position2DAnimation
public class Position2DAnimation extends ContinuousAnimation<Point2DTimePoint>
Animates the position of a Node object.
- Author:
- - Patrick Shaw
-
Constructor Summary
Constructors Constructor Description Position2DAnimation(Attributable attributable, List<Point2DTimePoint> dataPoints, double loopDuration)
Position2DAnimation(Attributable attributable, List<Point2DTimePoint> dataPoints, double loopDuration, double startTime)
Position2DAnimation(Attributable attributable, List<Point2DTimePoint> dataPoints, double loopDuration, double startTime, int noLoops)
Position2DAnimation(Attributable attributable, List<Point2DTimePoint> dataPoints, double loopDuration, double startTime, int noLoops, Looper looper)
Position2DAnimation(Attributable attributable, List<Point2DTimePoint> dataPoints, double loopDuration, double startTime, int noLoops, Looper looper, Interpolator interpolator)
-
Method Summary
Methods inherited from class org.vanted.animation.ContinuousAnimation
update
Methods inherited from class org.vanted.animation.Animation
getEndTime, getLoopDuration, getStartTime, isFinished, reset, setDataPoints, setLoopDuration, setLoopDuration, setLoopDuration, setLooper, setNoLoops, setNoLoops, setStartTime, setStartTime
-
Constructor Details
-
Position2DAnimation
public Position2DAnimation(Attributable attributable, List<Point2DTimePoint> dataPoints, double loopDuration, double startTime, int noLoops, Looper looper, Interpolator interpolator) -
Position2DAnimation
public Position2DAnimation(Attributable attributable, List<Point2DTimePoint> dataPoints, double loopDuration, double startTime, int noLoops, Looper looper) -
Position2DAnimation
public Position2DAnimation(Attributable attributable, List<Point2DTimePoint> dataPoints, double loopDuration, double startTime, int noLoops) -
Position2DAnimation
public Position2DAnimation(Attributable attributable, List<Point2DTimePoint> dataPoints, double loopDuration, double startTime) -
Position2DAnimation
public Position2DAnimation(Attributable attributable, List<Point2DTimePoint> dataPoints, double loopDuration)
-