Package com.prineside.tdi2.utils
Class GameSyncLoader
java.lang.Object
com.prineside.tdi2.utils.GameSyncLoader
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addTask
(GameSyncLoader.Task task) void
float
boolean
isDone()
boolean
iterate()
-
Constructor Details
-
GameSyncLoader
public GameSyncLoader()
-
-
Method Details
-
enableExtraFrameBeforeTaskStart
public void enableExtraFrameBeforeTaskStart() -
addTask
-
addListener
-
iterate
public boolean iterate()- Returns:
- true, if any task was executed, false otherwise (execution is done)
-
getProgress
public float getProgress() -
isDone
public boolean isDone()
-