Class AttachedItems
java.lang.Object
zombie.characters.AttachedItems.AttachedItems
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AttachedLocationGroup
protected final ArrayList
<AttachedItem> -
Constructor Summary
ConstructorsConstructorDescriptionAttachedItems
(AttachedItems other) AttachedItems
(AttachedLocationGroup _group) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
contains
(InventoryItem item) void
copyFrom
(AttachedItems other) void
get
(int index) getGroup()
getItemByIndex
(int index) getLocation
(InventoryItem item) boolean
isEmpty()
void
remove
(InventoryItem item) void
setItem
(String location, InventoryItem item) int
size()
-
Field Details
-
group
-
items
-
-
Constructor Details
-
AttachedItems
-
AttachedItems
-
-
Method Details
-
copyFrom
-
getGroup
-
get
-
setItem
-
getItem
-
getItemByIndex
-
remove
-
clear
public void clear() -
getLocation
-
contains
-
size
public int size() -
isEmpty
public boolean isEmpty() -
forEach
-