Class WornItems
java.lang.Object
zombie.characters.WornItems.WornItems
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addItemsToItemContainer
(ItemContainer container) void
clear()
boolean
contains
(InventoryItem item) void
void
get
(int index) getItemByIndex
(int index) void
getItemVisuals
(ItemVisuals itemVisuals) getLocation
(InventoryItem item) boolean
isEmpty()
void
load
(ByteBuffer byteBuffer, int int1) void
remove
(InventoryItem item) void
save
(ByteBuffer byteBuffer) void
setFromItemVisuals
(ItemVisuals itemVisuals) void
setItem
(String location, InventoryItem item) int
size()
-
Field Details
-
group
-
items
-
-
Constructor Details
-
WornItems
-
WornItems
-
-
Method Details
-
copyFrom
-
getBodyLocationGroup
-
get
-
setItem
-
getItem
-
getItemByIndex
-
remove
-
clear
public void clear() -
getLocation
-
contains
-
size
public int size() -
isEmpty
public boolean isEmpty() -
forEach
-
setFromItemVisuals
-
getItemVisuals
-
addItemsToItemContainer
-
save
- Throws:
IOException
-
load
- Throws:
IOException
-