|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.kernel.properties.PList wyvern.kernel.maps.MapObject wyvern.lib.classes.armor.ArmorImpl wyvern.lib.classes.armor.Ring wyvern.lib.magic.ring.InvisibilityRing
Ring of invisibility. Put it on and disappear.
Field Summary |
Fields inherited from class wyvern.kernel.maps.MapObject |
IN_MAP_EDITOR, listenerList_ |
Fields inherited from class wyvern.kernel.properties.PList |
readOnly_ |
Fields inherited from interface wyvern.lib.PropertyList |
PROPERTY_PACKAGE |
Constructor Summary | |
InvisibilityRing()
|
Method Summary | |
void |
becomeInvisible(Commandable agent)
Turns the wearer invisible. |
void |
becomeVisible(Commandable agent)
Turns the wearer visible again. |
void |
initialize()
Sets default properties. |
void |
putOnRing(Commandable agent)
Puts on the ring and starts draining mana. |
void |
removeRing(Commandable agent)
Removes and stops draining mana. |
void |
setWorn(boolean worn,
Commandable agent)
Someone wore the ring. |
void |
timerExpired()
Timer went off. |
Methods inherited from class wyvern.lib.classes.armor.Ring |
getRequiredSlots |
Methods inherited from class wyvern.lib.classes.armor.ArmorImpl |
adjustHP, applyBonus, applyBonuses, applySpecial, canWear, checkDrop, destroy, dropped, forceRemoval, getAC, getDescription, getHP, getMaxHP, getValue, getWeight, isWorn, kill, pickedUp, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface wyvern.lib.MethodHookable |
addMethodHook, removeMethodHook, runMethodHook |
Methods inherited from interface wyvern.lib.Broadcaster |
broadcast, broadcast, broadcast, broadcast, broadcast |
Constructor Detail |
public InvisibilityRing()
Method Detail |
public void initialize()
initialize
in interface GameObject
initialize
in class Ring
public void setWorn(boolean worn, Commandable agent)
setWorn
in interface Armor
setWorn
in class ArmorImpl
worn
- true if worn, false if notagent
- the person wearing/unwearing itpublic void putOnRing(Commandable agent)
public void removeRing(Commandable agent)
public void timerExpired()
timerExpired
in interface Timed
public void becomeInvisible(Commandable agent)
public void becomeVisible(Commandable agent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |