|
|
|
@ -29,13 +29,13 @@ import java.util.concurrent.atomic.AtomicInteger;
@@ -29,13 +29,13 @@ import java.util.concurrent.atomic.AtomicInteger;
|
|
|
|
|
public enum ForgeManager implements Runnable { |
|
|
|
|
|
|
|
|
|
// MB Dev notes:
|
|
|
|
|
// Class handles all forge rolling mechanics for Magicbane.
|
|
|
|
|
// Class implements forge rolling mechanics for Magicbane.
|
|
|
|
|
//
|
|
|
|
|
// .submit(workOrder) may be called from any thread: (ItemProductionMsgHandler).
|
|
|
|
|
// Concurrency is managed by the same lock used by the warehouse (city.cityTransactionLock).
|
|
|
|
|
// WorkOrders are persisted then reconstituted at bootstrap using table dyn.workorders.
|
|
|
|
|
//
|
|
|
|
|
// p.s. replaces garbage code that looked like it was written by a mental patient with face boils.
|
|
|
|
|
// Replaces garbage code that looked as if written by a mental patient with face boils.
|
|
|
|
|
|
|
|
|
|
FORGE_MANAGER; |
|
|
|
|
|
|
|
|
|