Package nl.saxion.app.interaction
Class LinearAnimation
java.lang.Object
nl.saxion.app.interaction.LinearAnimation
Helper class for calculating animations.
Highly experimental yet...
-
Constructor Summary
ConstructorDescriptionLinearAnimation
(Rectangle bbox, Point destination, int stepSize, boolean oneWay, boolean loop) -
Method Summary
-
Constructor Details
-
LinearAnimation
-
-
Method Details
-
start
public void start() -
stop
public void stop() -
reset
public void reset() -
isRunning
public boolean isRunning() -
getBoundingBox
-
update
public void update() -
getDestination
-
isOneWay
public boolean isOneWay() -
isLoop
public boolean isLoop() -
setOneWay
public void setOneWay(boolean oneWay) -
setLoop
public void setLoop(boolean loop)
-