|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmud.common.room.IdObject
mud.common.items.Item
mud.common.items.UsableItem
public class UsableItem
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 |
---|
public UsableItem(int id, java.lang.String name)
Method Detail |
---|
public boolean canUse()
public boolean use()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |