Package zombie.characters.AttachedItems
Class AttachedItems
java.lang.Object
zombie.characters.AttachedItems.AttachedItems
public final class AttachedItems
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected AttachedLocationGroup
group
protected java.util.ArrayList
items
-
Constructor Summary
Constructors Constructor Description AttachedItems(AttachedItems attachedItems)
AttachedItems(AttachedLocationGroup attachedLocationGroup)
-
Method Summary
Modifier and Type Method Description void
clear()
boolean
contains(InventoryItem inventoryItem)
void
copyFrom(AttachedItems attachedItems)
void
forEach(java.util.function.Consumer consumer)
AttachedItem
get(int int1)
AttachedLocationGroup
getGroup()
InventoryItem
getItem(java.lang.String string)
InventoryItem
getItemByIndex(int int1)
java.lang.String
getLocation(InventoryItem inventoryItem)
boolean
isEmpty()
void
remove(InventoryItem inventoryItem)
void
setItem(java.lang.String string, InventoryItem inventoryItem)
int
size()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
group
-
items
protected final java.util.ArrayList 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
public void forEach(java.util.function.Consumer consumer)
-