Class InventorySlot<T extends Item>
java.lang.Object
InventorySlot<T>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InventorySlot
Class constructor for Inventory Slot- Parameters:
item- item for slotquantity- how much of item
-
-
Method Details
-
getItem
-
getQuantity
public int getQuantity() -
reduceQuantity
public void reduceQuantity() -
isInStock
public boolean isInStock()
-