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