|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.communication.messages.CommandMessage cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.Console
public class Console
Representation of the GameBots2004 command CONSOLE. You can run all console command by this.
Field Summary | |
---|---|
protected java.lang.String |
Command
The actual console command. |
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
Constructor Summary | |
---|---|
Console()
Creates new instance of command Console. |
|
Console(Console original)
Cloning constructor. |
|
Console(java.lang.String Command)
Creates new instance of command Console. |
Method Summary | |
---|---|
java.lang.String |
getCommand()
The actual console command. |
Console |
setCommand(java.lang.String Command)
The actual console command. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toMessage()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROTOTYPE
protected java.lang.String Command
Constructor Detail |
---|
public Console(java.lang.String Command)
Command
- The actual console command.public Console()
public Console(Console original)
original
- Method Detail |
---|
public java.lang.String getCommand()
public Console setCommand(java.lang.String Command)
public java.lang.String toString()
toString
in class CommandMessage
public java.lang.String toHtmlString()
public java.lang.String toMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |