Class BukkitInventorySize
java.lang.Object
me.hsgamer.hscore.bukkit.gui.object.BukkitInventorySize
- All Implemented Interfaces:
InventorySize
The
InventorySize
of Inventory
-
Constructor Summary
ConstructorDescriptionBukkitInventorySize
(org.bukkit.inventory.Inventory inventory) Create a new instance -
Method Summary
Modifier and TypeMethodDescriptionint
getSize()
Get the size of the inventoryint
Get the slot per rowMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.hsgamer.hscore.minecraft.gui.object.InventorySize
getSlots, toPosition, toSlots
-
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 interfaceInventorySize
- Returns:
- the size
-
getSlotPerRow
public int getSlotPerRow()Description copied from interface:InventorySize
Get the slot per row- Specified by:
getSlotPerRow
in interfaceInventorySize
- Returns:
- the slot per row
-