Package gaiasky.desktop.concurrent
Class UpdaterTask<T extends SceneGraphNode>
java.lang.Object
gaiasky.desktop.concurrent.UpdaterTask<T>
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Void>
public class UpdaterTask<T extends SceneGraphNode>
extends java.lang.Object
implements java.util.concurrent.Callable<java.lang.Void>
-
Constructor Summary
Constructors Constructor Description UpdaterTask(com.badlogic.gdx.utils.Array<T> nodes)UpdaterTask(com.badlogic.gdx.utils.Array<T> nodes, int start, int step) -
Method Summary
Modifier and Type Method Description voidaddAll(com.badlogic.gdx.utils.Array<T> list)java.lang.Voidcall()voidsetNodesToProcess(com.badlogic.gdx.utils.Array<T> nodes)voidsetParameters(ICamera camera, ITimeFrameProvider time)This must be called to prepare the updater task for executionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
UpdaterTask
-
UpdaterTask
-
-
Method Details
-
call
public java.lang.Void call() throws java.lang.Exception- Specified by:
callin interfacejava.util.concurrent.Callable<T extends SceneGraphNode>- Throws:
java.lang.Exception
-
setNodesToProcess
-
addAll
-
setParameters
This must be called to prepare the updater task for execution- Parameters:
camera-time-
-