|
|||||||||
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.DialogBegin
public class DialogBegin
Representation of the GameBots2004 command DLGBEGIN. Begins a batch of DialogItem commands.
Field Summary | |
---|---|
protected java.lang.String |
Id
Id of this dialog. |
protected java.lang.String |
Player
Name of the player on who's HUD should be the dialog shown. |
static java.lang.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(java.lang.String Player,
java.lang.String Id)
Creates new instance of command DialogBegin. |
Method Summary | |
---|---|
java.lang.String |
getId()
Id of this dialog. |
java.lang.String |
getPlayer()
Name of the player on who's HUD should be the dialog shown. |
DialogBegin |
setId(java.lang.String Id)
Id of this dialog. |
DialogBegin |
setPlayer(java.lang.String Player)
Name of the player on who's HUD should be the dialog shown. |
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 Player
protected java.lang.String Id
Constructor Detail |
---|
public DialogBegin(java.lang.String Player, java.lang.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 java.lang.String getPlayer()
public DialogBegin setPlayer(java.lang.String Player)
public java.lang.String getId()
public DialogBegin setId(java.lang.String Id)
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 |