public abstract class TweeningSprite extends AbstractSprite
Constructor and Description |
---|
TweeningSprite()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
handleTick(int time)
Handle a tick event (generated by the Stage).
|
void |
setEndState(int endState)
Set the "end state" for this Sprite.
|
getBounds2D, getBounds2D, intersects, render, setLocation, setRotation, setRotation, setScale, setScale, setVisible
public static final int REMAIN
public static final int REMOVE
public void handleTick(int time)
handleTick
in interface MetronomeListener
handleTick
in class AbstractSprite
time
- The current time (in milliseconds)public void setEndState(int endState)
endState
- Either REMOVE, REMAIN, or REPEAT