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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAll(com.badlogic.gdx.utils.Array<T> list)
java.lang.Void
call()
void
setNodesToProcess(com.badlogic.gdx.utils.Array<T> nodes)
void
setParameters(ICamera camera, ITimeFrameProvider time)
This must be called to prepare the updater task for execution
-
-
-
Method Detail
-
call
public java.lang.Void call() throws java.lang.Exception
- Specified by:
call
in interfacejava.util.concurrent.Callable<T extends SceneGraphNode>
- Throws:
java.lang.Exception
-
setNodesToProcess
public void setNodesToProcess(com.badlogic.gdx.utils.Array<T> nodes)
-
addAll
public void addAll(com.badlogic.gdx.utils.Array<T> list)
-
setParameters
public void setParameters(ICamera camera, ITimeFrameProvider time)
This must be called to prepare the updater task for execution- Parameters:
camera
-time
-
-
-