public class QuadImageFrameAnimator extends java.lang.Object implements ActiveObject
Modifier and Type | Field and Description |
---|---|
double |
pauseLength
How long to pause at the end of the sequence before starting back
|
double |
period
How long to animate from start to finish.
|
protected double |
startTime |
Constructor and Description |
---|
QuadImageFrameAnimator(QuadImageFrameLoader inLoader,
BaseController inControl)
Animate the current image on the given image frame loader.
|
Modifier and Type | Method and Description |
---|---|
void |
activeUpdate()
Called right before the render on the render thread
|
boolean |
hasChanges()
----- Active Object methods -------
|
void |
shutdown()
Remove the animator and stop animating
|
protected double startTime
public double period
public double pauseLength
public QuadImageFrameAnimator(QuadImageFrameLoader inLoader, BaseController inControl)
public void shutdown()
public boolean hasChanges()
hasChanges
in interface ActiveObject
public void activeUpdate()
ActiveObject
activeUpdate
in interface ActiveObject