Browse Source

More work fleshing out new ForgeManager

feature-workorder
MagicBot 1 year ago
parent
commit
0e190b21e1
  1. 8
      src/engine/gameManager/ForgeManager.java

8
src/engine/gameManager/ForgeManager.java

@ -10,10 +10,16 @@ public enum ForgeManager implements Runnable {
FORGE_MANAGER; FORGE_MANAGER;
private BlockingQueue<WorkOrder> workQueue = new DelayQueue(); private BlockingQueue<WorkOrder> workQueue = new DelayQueue();
;
@Override @Override
public void run() { public void run() {
try {
WorkOrder workOrder = workQueue.take();
} catch (InterruptedException e) {
e.printStackTrace();
}
} }
} }

Loading…
Cancel
Save