public StorageControllerService(QuantumStorageControllerMachine quantumStorageController, MachineStorage machineStorage, MachineSides machineSides) { _quantumStorageController = quantumStorageController; _machineStorage = machineStorage; _machineSides = machineSides; }
public static string StorageDisplay(MachineStorage machineStorage) { string txt = ""; if (machineStorage.StorageBlockCount == 0) { txt = "NO STORAGE CONNECTED - PLACE STORAGE BEHIND CONTROLLER\n"; } else { txt += "Item count: " + machineStorage.ItemCount + "/" + machineStorage.MaxCapacity + "\n"; txt += "Storage blocks count: " + machineStorage.StorageBlockCount + "\n"; } return(txt); }