From 0e190b21e1d87a97bd5e7514da39ffc7108a61b5 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Wed, 13 Sep 2023 11:45:58 -0400 Subject: [PATCH] More work fleshing out new ForgeManager --- src/engine/gameManager/ForgeManager.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index ae2c7ce6..b46954ce 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -10,10 +10,16 @@ public enum ForgeManager implements Runnable { FORGE_MANAGER; private BlockingQueue workQueue = new DelayQueue(); - ; @Override public void run() { + try { + WorkOrder workOrder = workQueue.take(); + + } catch (InterruptedException e) { + e.printStackTrace(); + } + } }