Interface ItemWrangler
- All Known Implementing Classes:
Administrator, Bot, Item, Mob, NormalItem, Person, Room, Shopkeeper, ShopkeeperList, User
public interface ItemWrangler
Interface on what is allowed to be done with items.
- Author:
- maartenl
-
Method Summary
Modifier and TypeMethodDescriptionAdds anItemto this ItemWrangler.booleandestroyItem(Item item) Physically destroys an item instance.Returns items this entity has, based on description provided.getItems()Retrieves a set of items that this entity has.
-
Method Details
-
getItems
-
findItems
-
destroyItem
Physically destroys an item instance.- Parameters:
item- the item to be destroyed- Returns:
- returns true, if the item was found and destroyed. False if the item was not found.
-
addItem
-