public abstract class TickingInstruction extends PonderInstruction
| Modifier and Type | Field and Description |
|---|---|
protected int |
remainingTicks |
protected int |
totalTicks |
| Constructor and Description |
|---|
TickingInstruction(boolean blocking,
int ticks) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
firstTick(PonderScene scene) |
boolean |
isBlocking() |
boolean |
isComplete() |
void |
onScheduled(PonderScene scene) |
void |
reset(PonderScene scene) |
void |
tick(PonderScene scene) |
simplepublic void reset(PonderScene scene)
reset in class PonderInstructionprotected void firstTick(PonderScene scene)
public void onScheduled(PonderScene scene)
onScheduled in class PonderInstructionpublic void tick(PonderScene scene)
tick in class PonderInstructionpublic boolean isComplete()
isComplete in class PonderInstructionpublic boolean isBlocking()
isBlocking in class PonderInstruction