public class ImmediateGameFuture extends GameFuture
GameFuture that completes immediately| Constructor and Description |
|---|
ImmediateGameFuture()
Constructor using
GameScriptingEngine.MOST_RECENT_INSTANCE |
ImmediateGameFuture(GameScriptingEngine gameScriptingEngine)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
onFutureSkipped()
Called when the
GameFuture is skipped |
protected void |
onScriptSkipped()
Called when the entire script is skipped
|
protected boolean |
update(float delta)
Update the
GameFuture |
getFutureId, isCompleted, isFutureSkipped, isReadyForGC, isScriptSkipped, skipFuture, waitForCompletionpublic ImmediateGameFuture()
GameScriptingEngine.MOST_RECENT_INSTANCEpublic ImmediateGameFuture(GameScriptingEngine gameScriptingEngine)
gameScriptingEngine - The GameScriptingEngine this future belongs toprotected boolean update(float delta)
GameFutureGameFutureupdate in class GameFuturedelta - The amount of time (in seconds) since the last frameGameFuture has completedprotected void onFutureSkipped()
GameFutureGameFuture is skippedonFutureSkipped in class GameFutureprotected void onScriptSkipped()
GameFutureonScriptSkipped in class GameFuture