Beispiel #1
0
 public InventoryAttributesWrapper(InventoryAttributes other) : base(other.Name)
 {
     InventoryID          = other.InventoryID;
     HasUnlimitedCapacity = other.HasUnlimitedCapacity;
     StartingAmount       = other.StartingAmount;
     Capacity             = other.Capacity;
 }
Beispiel #2
0
 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}");
 }