|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.CommandMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.SetName
public class SetName
Representation of the GameBots2004 command SETNAME. Sets the name of the bot.
| Field Summary | |
|---|---|
protected String |
Name
New name of the bot. |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
| Constructor Summary | |
|---|---|
SetName()
Creates new instance of command SetName. |
|
SetName(SetName original)
Cloning constructor. |
|
SetName(String Name)
Creates new instance of command SetName. |
|
| Method Summary | |
|---|---|
String |
getName()
New name of the bot. |
SetName |
setName(String Name)
New name of the bot. |
String |
toHtmlString()
|
String |
toMessage()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PROTOTYPE
protected String Name
| Constructor Detail |
|---|
public SetName(String Name)
Name - New name of the bot.public SetName()
public SetName(SetName original)
original - | Method Detail |
|---|
public String getName()
public SetName setName(String Name)
public String toString()
toString in class CommandMessagepublic String toHtmlString()
public String toMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||