Class Inventory

java.lang.Object
me.arcademadness.omni_dungeon.components.Inventory

public class Inventory extends Object
  • Constructor Details

    • Inventory

      public Inventory(int maxArmorSlots, int maxItemSlots, int maxActionSlots)
  • Method Details

    • addItem

      public void addItem(Item item)
    • removeItem

      public void removeItem(Item item)
    • removeItem

      public Item removeItem(int index)
    • getItems

      public List<Item> getItems()
    • size

      public int size()
    • get

      public Item get(int index)
    • clear

      public void clear()
    • equip

      public boolean equip(Item item)
    • unequip

      public boolean unequip(Item item)
    • isEquipped

      public boolean isEquipped(Item item)
    • getEquippedItems

      public List<Item> getEquippedItems()
    • getEquippedArmor

      public List<Item> getEquippedArmor()
    • getMaxItemSlots

      public MaxItemSlots getMaxItemSlots()
    • getMaxArmorSlots

      public MaxArmorSlots getMaxArmorSlots()
    • getMaxActionSlots

      public MaxActionSlots getMaxActionSlots()