public class MoveToPositionAnimator extends PositionAnimator
Modifier and Type | Field and Description |
---|---|
protected double |
positionMinEpsilon |
protected double |
smoothing |
protected boolean |
useSmoothing |
begin, end, propertyAccessor
interpolator
Constructor and Description |
---|
MoveToPositionAnimator(Position begin,
Position end,
double smoothing,
PropertyAccessor.PositionAccessor propertyAccessor) |
Modifier and Type | Method and Description |
---|---|
void |
next()
Calls the
set method with the next interpolant as determined
by the interpolator member. |
Position |
nextPosition(double interpolant) |
getBegin, getEnd, getPropertyAccessor, setBegin, setEnd, setImpl
flagLastStateInvalid, hasNext, isLastStateValid, isStopOnInvalidState, set, setStopOnInvalidState, start, stop
protected double positionMinEpsilon
protected double smoothing
protected boolean useSmoothing
public MoveToPositionAnimator(Position begin, Position end, double smoothing, PropertyAccessor.PositionAccessor propertyAccessor)
public void next()
BasicAnimator
set
method with the next interpolant
as determined
by the interpolator
member.next
in interface Animator
next
in class BasicAnimator
public Position nextPosition(double interpolant)
nextPosition
in class PositionAnimator