Class BukkitInventorySize

java.lang.Object
me.hsgamer.hscore.bukkit.gui.object.BukkitInventorySize
All Implemented Interfaces:
InventorySize

public class BukkitInventorySize extends Object implements InventorySize
The InventorySize of Inventory
  • Constructor Details

    • BukkitInventorySize

      public BukkitInventorySize(org.bukkit.inventory.Inventory inventory)
      Create a new instance
      Parameters:
      inventory - the inventory
  • Method Details

    • getSize

      public int getSize()
      Description copied from interface: InventorySize
      Get the size of the inventory
      Specified by:
      getSize in interface InventorySize
      Returns:
      the size
    • getSlotPerRow

      public int getSlotPerRow()
      Description copied from interface: InventorySize
      Get the slot per row
      Specified by:
      getSlotPerRow in interface InventorySize
      Returns:
      the slot per row