接口 WorldWorkerManager.IWorker

封闭类:
WorldWorkerManager

public static interface WorldWorkerManager.IWorker
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    Perform a task, returning true from this will have the manager call this function again this tick if there is time left.
    boolean
     
  • 方法详细资料

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