|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--mstar.Commands
|
+--TinyMudCommands
Implements the Commands class for TinyMud's.
| Constructor Summary | |
TinyMudCommands()
|
|
| Method Summary | |
void |
describe(java.lang.String description)
Sends the describe command to the collaborative environment. |
void |
emote(java.lang.String who,
java.lang.String what)
Sends an emote command to the collaborative environment. |
java.lang.String |
getHowPages()
Deprecated. |
java.lang.String |
getHowSays()
Deprecated. |
java.lang.String |
getHowWhispers()
Deprecated. |
void |
go(java.lang.String where)
Send the go command to the collaborative environment. |
void |
goHome()
A special case of the go command to send a player back to his or her default room in the collaborative environment. |
void |
inventory()
Sends the inventory command to the collaborative environment. |
void |
look(java.lang.String at)
Send the look command to the collaborative environment. |
void |
mutter(java.lang.String who,
java.lang.String what)
Sends a muttered message to everyone except the character in the collaborative environment. |
void |
page(java.lang.String who,
java.lang.String what)
Sends a page to a specific character in the collaborative environment. |
void |
pose(java.lang.String what)
Send the pose command to the collaborative environment. |
void |
quit()
Sends the command to the collaborative environment to end the current session. |
void |
say(java.lang.String what)
Send the say command to the collaborative environment. |
void |
set(java.lang.String what,
java.lang.String flag)
Sends the set command to the collaborative environment. |
void |
setOutputPrefix(java.lang.String what)
Sends the OUTPUTPREFIX command to the collaborative environment. |
void |
setOutputSuffix(java.lang.String what)
Sends the OUTPUTSUFFIX command to the collaborative environment. |
void |
whisper(java.lang.String who,
java.lang.String what)
Sends a whispered message to a specific character in the collaborative environment. |
void |
yell(java.lang.String what)
Send the yell command to the collaborative environment. |
| Methods inherited from class mstar.Commands |
getInputStream,
getOutputStream,
setInputStream,
setOutputStream |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public TinyMudCommands()
| Method Detail |
public void look(java.lang.String at)
at - the object in the collaborative environment to look at.
This parameter may be null.public void say(java.lang.String what)
what - to say.public void yell(java.lang.String what)
what - to yell.public void pose(java.lang.String what)
what - fake action to perform.
public void page(java.lang.String who,
java.lang.String what)
who - to send the page to.what - the message is. What may be null. If it is null then
the character being paged will receive a message
similar to:
foo is looking for you in somewhere
public void whisper(java.lang.String who,
java.lang.String what)
who - to send the whisper to.what - the message is.
public void mutter(java.lang.String who,
java.lang.String what)
who - not to send the message to.what - the message is.
public void emote(java.lang.String who,
java.lang.String what)
who - to send the emote to.what - the emoted action is.public void go(java.lang.String where)
where - the direction to go.public void goHome()
public void quit()
public void set(java.lang.String what,
java.lang.String flag)
what - to set.flag - the value to set on the object.public void inventory()
public void setOutputPrefix(java.lang.String what)
what - the string to prefix the output of a command with.public void setOutputSuffix(java.lang.String what)
what - the string to suffix the output of a command with.public void describe(java.lang.String description)
description - the description to set.public java.lang.String getHowSays()
public java.lang.String getHowPages()
public java.lang.String getHowWhispers()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||