|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExistsInWorld
Any “thing” that exists in the game world and participates therein should implement the ExistsInWorld interface. This interface provides the “physicality” (no, that's not a word) necessary for something to participate in the game rooms.
Method Summary | |
---|---|
void |
acceptAdminMessage(Integer room,
String string)
Accept a message from an administrator or the system. |
void |
acceptAdminMessage(Room room,
String string)
|
String |
getAvatarLabel()
The avatar label is the text block that is displayed with the avatar for this object. |
String |
getFacing()
Get the string identifying the direction which this object is facing. |
org.json.JSONObject |
getPublicInfo()
TODO: document this method (brpocock, Oct 31, 2009) avatar, userName, clothes, colors |
double |
getTargetX()
TODO: document this method (brpocock, Oct 31, 2009) |
double |
getTargetY()
TODO: document this method (brpocock, Oct 31, 2009) |
double |
getTravelRate()
TODO: document this method (brpocock, Nov 24, 2009) |
long |
getTravelStart()
TODO: document this method (brpocock, Nov 24, 2009) |
int |
getUserID()
TODO: document this method (brpocock, Oct 31, 2009) |
String |
getVariable(String string)
TODO: document this method (brpocock, Oct 31, 2009) |
double |
getX()
TODO: document this method (brpocock, Oct 31, 2009) |
double |
getY()
TODO: document this method (brpocock, Oct 31, 2009) |
boolean |
hasVariable(String string)
TODO: document this method (brpocock, Nov 30, 2009) |
boolean |
isNPC()
TODO: document this method (brpocock, Oct 31, 2009) |
boolean |
isOnline()
TODO: document this method (brpocock, Oct 31, 2009) |
void |
setStartT(long when)
TODO: document this method (brpocock, Nov 24, 2009) |
void |
setTravelRate(double rate)
TODO: document this method (brpocock, Nov 24, 2009) |
void |
setX(double x2)
TODO: document this method (brpocock, Nov 24, 2009) |
void |
setY(double y2)
TODO: document this method (brpocock, Nov 24, 2009) |
String |
toSFSXML()
TODO: document this method (brpocock, Oct 31, 2009) |
Methods inherited from interface org.starhope.appius.game.RoomListener |
---|
acceptGameAction, acceptGameStateChange, acceptObjectJoinRoom, acceptObjectPartRoom, acceptOutOfBandMessage, acceptPublicMessage, acceptPublicMessage, getLocation, getRoom, getZone |
Method Detail |
---|
void acceptAdminMessage(Integer room, String string)
room
- The room in which the administrative message is being
sent (often ignored)string
- The administrative message.void acceptAdminMessage(Room room, String string)
room
- The room in which the administrative message is being
sent (often ignored)string
- The administrative message.acceptAdminMessage(Integer, String)
String getAvatarLabel()
String getFacing()
org.json.JSONObject getPublicInfo()
double getTargetX()
double getTargetY()
double getTravelRate()
long getTravelStart()
int getUserID()
String getVariable(String string)
string
- WRITEME
double getX()
double getY()
boolean hasVariable(String string)
string
- WRITEME
boolean isNPC()
boolean isOnline()
void setStartT(long when)
when
- WRITEMEvoid setTravelRate(double rate)
rate
- WRITEMEvoid setX(double x2)
x2
- WRITEMEvoid setY(double y2)
y2
- WRITEMEString toSFSXML()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |