Class ArmorPartSnapshot
java.lang.Object
org.core.inventory.parts.snapshot.ArmorPartSnapshot
- All Implemented Interfaces:
Inventory
,ArmorPart
,InventoryPart
,InventoryPartSnapshot
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.core.inventory.Inventory
Inventory.Parent
-
Field Summary
Modifier and TypeFieldDescriptionprotected SlotSnapshot
protected SlotSnapshot
protected SlotSnapshot
protected SlotSnapshot
-
Constructor Summary
ConstructorDescriptionArmorPartSnapshot(ArmorPart part)
ArmorPartSnapshot(Slot helmet, Slot armor, Slot leggings, Slot shoes)
-
Method Summary
Modifier and TypeMethodDescriptionMethods 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.ArmorPart
getItemSlots, getSlotCount
Methods inherited from interface org.core.inventory.parts.InventoryPart
getSlot
-
Field Details
-
helmet
-
armor
-
leggings
-
shoes
-
-
Constructor Details
-
ArmorPartSnapshot
-
ArmorPartSnapshot
-
-
Method Details
-
getHelmetSlot
- Specified by:
getHelmetSlot
in interfaceArmorPart
-
getArmorSlot
- Specified by:
getArmorSlot
in interfaceArmorPart
-
getLeggingsSlot
- Specified by:
getLeggingsSlot
in interfaceArmorPart
-
getShoesSlot
- Specified by:
getShoesSlot
in interfaceArmorPart
-
createSnapshot
- Specified by:
createSnapshot
in interfaceArmorPart
- Specified by:
createSnapshot
in interfaceInventory
-