mud.common.objects
Class Inventory
java.lang.Object
mud.common.objects.Inventory
public class Inventory
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Inventory
public Inventory()
addListener
public void addListener(InventoryListener il)
removeListener
public void removeListener(InventoryListener il)
isEmpty
public boolean isEmpty()
clear
public void clear()
addAll
public void addAll(Inventory inventory)
addItem
public void addItem(Item i)
removeItem
public Item removeItem(int itemId)
removeItem
public Item removeItem(Item i)
getItems
public java.util.List<Item> getItems()
getItemById
public Item getItemById(int itemId)
toXml
public XmlElement toXml()