net.sf.mud4j.world.item
Interface Item

All Superinterfaces:
Effectable
All Known Implementing Classes:
AbstractItem

public interface Item
extends Effectable

Item interface for allowing different items to be created for a single API.

Author:
Matthew Purland

Method Summary
 java.lang.String getName()
          Get the name of the item.
 java.util.List<ItemType> getTypes()
          Get list of item types for the item.
 void setName(java.lang.String newItemName)
          Set the name of the item.
 
Methods inherited from interface net.sf.mud4j.effect.Effectable
getEffectBehavior, setEffectBehavior
 

Method Detail

getTypes

java.util.List<ItemType> getTypes()
Get list of item types for the item. An item should be able to have multiple item types.

Returns:
Returns list of item types for the given item.

getName

java.lang.String getName()
Get the name of the item.

Returns:
Returns the name of the item.

setName

void setName(java.lang.String newItemName)
Set the name of the item.

Parameters:
newItemName - New item name for the item.


Copyright © 2006-2007 mud4j. All Rights Reserved.