Class Inventory

java.lang.Object
org.progettoedids.util.Inventory

public class Inventory extends Object
The Inventory class is essentially a container of Item(s) with a maximum capacity.

Some methods are provided to add, get or remove Item(s) from the Inventory. It's not allowed to add an Item whose weight will cause the Inventory's held weight of all the Item(s) to exceed the maximum capacity.