|
||||||||||
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.StaticObject wyvern.lib.classes.town.RealityBed
An object you can apply to save your stuff and quit the game.
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 | |
RealityBed()
|
Method Summary | |
void |
apply(Commandable agent)
Called by the ApplyCommand when the agent performs "apply". |
void |
dropAnyQuestItems(Player player)
Ensures they don't save with any quest items. |
void |
initialize()
Initializes the object's default properties. |
void |
rememberSaveLocation(Player player)
Saves the current location as a "last-save" property on the player. |
void |
setMap(GameMap map,
int x,
int y)
When we're placed in a map, make the map no-pk. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RealityBed()
Method Detail |
public void initialize()
GameObject
initialize
in interface GameObject
initialize
in class StaticObject
public void setMap(GameMap map, int x, int y)
setMap
in interface GameObject
setMap
in class MapObject
public void apply(Commandable agent)
apply
in interface Applyable
agent
- the person applying the objectpublic void dropAnyQuestItems(Player player)
public void rememberSaveLocation(Player player)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |