Class Grid2x2Snapshot
java.lang.Object
org.core.inventory.parts.snapshot.Grid2x2Snapshot
- All Implemented Interfaces:
Inventory
,Grid2x2
,InventoryPart
,InventoryPartSnapshot
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.core.inventory.Inventory
Inventory.Parent
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGrid2x2Snapshot(Collection<? extends Slot> slots)
Grid2x2Snapshot(Inventory part)
Grid2x2Snapshot(Slot... slots)
-
Method Summary
Modifier and TypeMethodDescriptionint
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.core.inventory.parts.InventoryPart
getSlot
-
Field Details
-
slots
-
-
Constructor Details
-
Grid2x2Snapshot
-
Grid2x2Snapshot
-
Grid2x2Snapshot
-
-
Method Details
-
getItemSlots
- Specified by:
getItemSlots
in interfaceInventory
-
createSnapshot
- Specified by:
createSnapshot
in interfaceGrid2x2
- Specified by:
createSnapshot
in interfaceInventory
-
getSlotCount
public int getSlotCount()- Specified by:
getSlotCount
in interfaceInventory
-