|
||||||||||
| 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.ShowAction
public class ShowAction
Representation of the GameBots2004 command SHACT. Show current action the player is performing.
| Field Summary | |
|---|---|
protected String |
Action
The action that should be shown. |
protected Boolean |
Completed
Whether the current action is completed or not. |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
| Constructor Summary | |
|---|---|
ShowAction()
Creates new instance of command ShowAction. |
|
ShowAction(ShowAction original)
Cloning constructor. |
|
ShowAction(String Action,
Boolean Completed)
Creates new instance of command ShowAction. |
|
| Method Summary | |
|---|---|
String |
getAction()
The action that should be shown. |
Boolean |
isCompleted()
Whether the current action is completed or not. |
ShowAction |
setAction(String Action)
The action that should be shown. |
ShowAction |
setCompleted(Boolean Completed)
Whether the current action is completed or not. |
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 Action
protected Boolean Completed
| Constructor Detail |
|---|
public ShowAction(String Action,
Boolean Completed)
Action - The action that should be shown.Completed - Whether the current action is completed or not.public ShowAction()
public ShowAction(ShowAction original)
original - | Method Detail |
|---|
public String getAction()
public ShowAction setAction(String Action)
public Boolean isCompleted()
public ShowAction setCompleted(Boolean Completed)
public String toString()
toString in class CommandMessagepublic String toHtmlString()
public String toMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||