|
||||||||||
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.DialogBegin
public class DialogBegin
Representation of the GameBots2004 command DLGBEGIN. Begins a batch of DialogItem commands.
Field Summary | |
---|---|
protected String |
Id
Id of this dialog. |
protected String |
Player
Name of the player on who's HUD should be the dialog shown. |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
Constructor Summary | |
---|---|
DialogBegin()
Creates new instance of command DialogBegin. |
|
DialogBegin(DialogBegin original)
Cloning constructor. |
|
DialogBegin(String Player,
String Id)
Creates new instance of command DialogBegin. |
Method Summary | |
---|---|
String |
getId()
Id of this dialog. |
String |
getPlayer()
Name of the player on who's HUD should be the dialog shown. |
DialogBegin |
setId(String Id)
Id of this dialog. |
DialogBegin |
setPlayer(String Player)
Name of the player on who's HUD should be the dialog shown. |
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 Player
protected String Id
Constructor Detail |
---|
public DialogBegin(String Player, String Id)
Player
- Name of the player on who's HUD should be the dialog shown.Id
- Id of this dialog. This should be an unique alphanumeric sequence without spaces.public DialogBegin()
public DialogBegin(DialogBegin original)
original
- Method Detail |
---|
public String getPlayer()
public DialogBegin setPlayer(String Player)
public String getId()
public DialogBegin setId(String Id)
public String toString()
toString
in class CommandMessage
public String toHtmlString()
public String toMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |