|
|||||||||
| 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 java.lang.String |
Id
Id of the cancelled dialog. |
protected java.lang.String |
Player
Name of the player on who's HUD is the dialog. |
static java.lang.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(java.lang.String Player,
java.lang.String Id)
Creates new instance of command DialogCancel. |
|
| Method Summary | |
|---|---|
java.lang.String |
getId()
Id of the cancelled dialog. |
java.lang.String |
getPlayer()
Name of the player on who's HUD is the dialog. |
DialogCancel |
setId(java.lang.String Id)
Id of the cancelled dialog. |
DialogCancel |
setPlayer(java.lang.String Player)
Name of the player on who's HUD is the dialog. |
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 DialogCancel(java.lang.String Player,
java.lang.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 java.lang.String getPlayer()
public DialogCancel setPlayer(java.lang.String Player)
public java.lang.String getId()
public DialogCancel setId(java.lang.String Id)
public java.lang.String toString()
toString in class CommandMessagepublic 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 | ||||||||