|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwyvern.kernel.properties.PList
wyvern.kernel.maps.MapObject
wyvern.lib.classes.StaticObject
wyvern.lib.classes.construct.EmoteRoom
An object you can put in a map to make the map an Emote Room. Players will be able to emote while in the map.
| 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 | |
EmoteRoom()
|
|
| Method Summary | |
CommandEvent |
createEvent(CommandEvent initial)
Creates the event. |
boolean |
execute(CommandEvent event)
Executes the event. |
Rectangle |
getBounds()
Returns the area covered by the emote room. |
void |
initialize()
Initializes the object's default properties. |
boolean |
knowsCommand(java.lang.String command)
Handles the "emote" command. |
void |
setMap(GameMap map,
int x,
int y)
Puts the room in the map. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public EmoteRoom()
| Method Detail |
public void initialize()
GameObject
initialize in interface GameObjectinitialize in class StaticObject
public void setMap(GameMap map,
int x,
int y)
setMap in interface GameObjectsetMap in class MapObjectmap - the map to put us inx - the x-coordinate of our upper-left cornery - the y-coordinate of our upper-left cornerpublic Rectangle getBounds()
getBounds in interface GameObjectgetBounds in class MapObjectpublic boolean knowsCommand(java.lang.String command)
knowsCommand in interface Commandcommand - the entire command string, including arguments
public CommandEvent createEvent(CommandEvent initial)
createEvent in interface Commandinitial - a "blank" CommandEvent containing only the
command text and the agent who's performing the command. This
initial event is created by the originator of the event (e.g.
the AI or player's command preprocessor).
public boolean execute(CommandEvent event)
execute in interface Commandevent - the CommandEvent to execute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||