Package com.ardorcraft.util.queue
Class Worker
java.lang.Object
com.ardorcraft.util.queue.Worker
The Worker handles the chunk update Tasks, making sure they are prioritized, and doesnt spend too much time per
frame.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
long
void
setExecutionTime
(long executionTime) void
setPlayerCoords
(int playerX, int playerZ)
-
Constructor Details
-
Worker
public Worker()
-
-
Method Details
-
enqueue
-
execute
-
getExecutionTime
public long getExecutionTime() -
setExecutionTime
public void setExecutionTime(long executionTime) -
setPlayerCoords
public void setPlayerCoords(int playerX, int playerZ)
-