cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands
Class GetAllStatus
java.lang.Object
cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.GetAllStatus
public class GetAllStatus
- extends CommandMessage
Representation of the GameBots2004 command ALL.
Request all the possible status messages from the observer.
The observer will send the following messages:
Game info: NFO, PLR.
The observed player: SLF, MYINV.
Objects the player sees: PLR, INV, NAV, MOV, PRJ, VEH.
Special objects on the map: FLG, BOM, DOM.
Field Summary |
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PROTOTYPE
public static final java.lang.String PROTOTYPE
- Example how the message looks like - used during parser tests.
- See Also:
- Constant Field Values
GetAllStatus
public GetAllStatus()
- Creates new instance of command GetAllStatus.
Request all the possible status messages from the observer.
The observer will send the following messages:
Game info: NFO, PLR.
The observed player: SLF, MYINV.
Objects the player sees: PLR, INV, NAV, MOV, PRJ, VEH.
Special objects on the map: FLG, BOM, DOM.
Corresponding GameBots message for this command is
ALL.
GetAllStatus
public GetAllStatus(GetAllStatus original)
- Cloning constructor.
- Parameters:
original
-
toString
public java.lang.String toString()
- Overrides:
toString
in class CommandMessage
toHtmlString
public java.lang.String toHtmlString()
toMessage
public java.lang.String toMessage()