|
||||||||||
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.DialogCancel
public class DialogCancel
Representation of the GameBots2004 command DLGCANCEL. Cancels some dialog, hiding him from screen. The dialog sends DLGCMD with Command CANCEL and latest available data as confirmation.
Field Summary | |
---|---|
protected String |
Id
Id of the cancelled dialog. |
protected String |
Player
Name of the player on who's HUD is the dialog. |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
Constructor Summary | |
---|---|
DialogCancel()
Creates new instance of command DialogCancel. |
|
DialogCancel(DialogCancel original)
Cloning constructor. |
|
DialogCancel(String Player,
String Id)
Creates new instance of command DialogCancel. |
Method Summary | |
---|---|
String |
getId()
Id of the cancelled dialog. |
String |
getPlayer()
Name of the player on who's HUD is the dialog. |
DialogCancel |
setId(String Id)
Id of the cancelled dialog. |
DialogCancel |
setPlayer(String Player)
Name of the player on who's HUD is the dialog. |
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 DialogCancel(String Player, String Id)
Player
- Name of the player on who's HUD is the dialog.Id
- Id of the cancelled dialog.public DialogCancel()
public DialogCancel(DialogCancel original)
original
- Method Detail |
---|
public String getPlayer()
public DialogCancel setPlayer(String Player)
public String getId()
public DialogCancel 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 |