public RefineryDriver(StaticState configuredStaticState) { state = new SystemState(configuredStaticState); blockCollector = new BlockCollector(configuredStaticState.InventoryBlockNames); inventoryScanner = new InventoryScanner(configuredStaticState.IngotTypes.AllIngotItemTypes, configuredStaticState.OreTypes.All); refineryWorklist = new RefineryWorklist(configuredStaticState.OreTypes, configuredStaticState.IngotTypes, configuredStaticState.RefineryFactory, configuredStaticState.Blueprints); ingotWorklist = new IngotWorklist(state.Ingots); displayRenderer = new DisplayRenderer(); }
public RefineryWorkAllocator(RefineryWorklist refineryWorklist, Dictionary <ItemType, List <OreDonor> > oreDonors) { this.refineryWorklist = refineryWorklist; this.oreDonors = oreDonors; }
public RefineryIterator(RefineryWorklist worklist, ItemType ingotType) { this.worklist = worklist; this.ingotType = ingotType; }