Interface WorldWorkerManager.IWorker

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean doWork()
      Perform a task, returning true from this will have the manager call this function again this tick if there is time left.
      boolean hasWork()  
    • Method Detail

      • hasWork

        boolean hasWork()
      • doWork

        boolean doWork()
        Perform a task, returning true from this will have the manager call this function again this tick if there is time left. Returning false will skip calling this worker until next tick.