Browse Source

Track items and their workorders.

combat-2
MagicBot 7 months ago
parent
commit
abd112035a
  1. 3
      src/engine/gameManager/ForgeManager.java

3
src/engine/gameManager/ForgeManager.java

@ -9,9 +9,11 @@ @@ -9,9 +9,11 @@
package engine.gameManager;
import engine.loot.WorkOrder;
import engine.objects.Item;
import engine.objects.PlayerCharacter;
import org.pmw.tinylog.Logger;
import java.util.HashMap;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.DelayQueue;
import java.util.concurrent.atomic.AtomicInteger;
@ -22,6 +24,7 @@ public enum ForgeManager implements Runnable { @@ -22,6 +24,7 @@ public enum ForgeManager implements Runnable {
private static final BlockingQueue<WorkOrder> workOrders = new DelayQueue();
public static final AtomicInteger wordOrderCounter = new AtomicInteger(0);
public static HashMap<Item, WorkOrder> oven = new HashMap<Item, WorkOrder>();
@Override
public void run() {

Loading…
Cancel
Save