public InventoryAttributesWrapper(InventoryAttributes other) : base(other.Name) { InventoryID = other.InventoryID; HasUnlimitedCapacity = other.HasUnlimitedCapacity; StartingAmount = other.StartingAmount; Capacity = other.Capacity; }
protected void OutputForInventory(InventoryAttributes inventory) { Print($"name: {inventory.Name}"); Print($"id: {inventory.InventoryID}"); Print($"unlimitedCapacity: {inventory.HasUnlimitedCapacity}"); Print($"capacity: {inventory.Capacity}"); Print($"startingAmount: {inventory.StartingAmount}"); }