Package com.prineside.tdi2.utils
Class GameSyncLoader
java.lang.Object
com.prineside.tdi2.utils.GameSyncLoader
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddTask(GameSyncLoader.Task task) voidfloatbooleanisDone()booleaniterate()
-
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()
-