public interface Modifier
| Modifier and Type | Method and Description |
|---|---|
void |
addFinishListener(FinishListener finishListener)
You can add a
FinishListener which will be called in
onFinish(). |
boolean |
hasFinished()
Returns whether the modifier has finished
|
void |
kill()
Forces the modifier to stop
|
void |
onFinish()
Describes what happens on finish (last tick)
|
void |
onInit()
Describes what happens on initialization (before first tick).
|
void |
reset()
Resets the modifier
|
void |
tick()
Describes what happens when an update occurs
|
void |
update()
Updates the modifier
|
void tick()
boolean hasFinished()
void kill()
void update()
void onFinish()
void addFinishListener(FinishListener finishListener)
FinishListener which will be called in
onFinish().finishListener - FinishListenervoid onInit()
void reset()