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
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UpdaterTask

      public UpdaterTask​(com.badlogic.gdx.utils.Array<T> nodes, int start, int step)
    • UpdaterTask

      public UpdaterTask​(com.badlogic.gdx.utils.Array<T> nodes)
  • Method Details

    • call

      public java.lang.Void call() throws java.lang.Exception
      Specified by:
      call in interface java.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 -