mud.common.items
Class UsableItem

java.lang.Object
  extended by mud.common.room.IdObject
      extended by mud.common.items.Item
          extended by mud.common.items.UsableItem

public class UsableItem
extends Item

Can be used as a superclass for potions and stuff


Constructor Summary
UsableItem(int id, java.lang.String name)
           
 
Method Summary
 boolean canUse()
           
 boolean use()
           
 
Methods inherited from class mud.common.items.Item
getLabel, getName, toXml
 
Methods inherited from class mud.common.room.IdObject
getId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsableItem

public UsableItem(int id,
                  java.lang.String name)
Method Detail

canUse

public boolean canUse()

use

public boolean use()