|
|||||||||
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.DialogEnd
public class DialogEnd
Representation of the GameBots2004 command DLGEND. Ends a batch of DialogItem commands, showing the dialog on screen.
Field Summary | |
---|---|
protected java.lang.String |
Id
Dialog identification. |
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 | |
---|---|
DialogEnd()
Creates new instance of command DialogEnd. |
|
DialogEnd(DialogEnd original)
Cloning constructor. |
|
DialogEnd(java.lang.String Player,
java.lang.String Id)
Creates new instance of command DialogEnd. |
Method Summary | |
---|---|
java.lang.String |
getId()
Dialog identification. |
java.lang.String |
getPlayer()
Name of the player on who's HUD should be the dialog shown. |
DialogEnd |
setId(java.lang.String Id)
Dialog identification. |
DialogEnd |
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 DialogEnd(java.lang.String Player, java.lang.String Id)
Player
- Name of the player on who's HUD should be the dialog shown.Id
- Dialog identification. This should be an unique positive integer.public DialogEnd()
public DialogEnd(DialogEnd original)
original
- Method Detail |
---|
public java.lang.String getPlayer()
public DialogEnd setPlayer(java.lang.String Player)
public java.lang.String getId()
public DialogEnd 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 |