cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands
Class Quit
java.lang.Object
cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.Quit
public class Quit
- extends CommandMessage
Representation of the GameBots2004 command QUIT.
Will shutdown the connection and potentialy kill and remove the
bot from a game (if sent to bot), the same can be achieved just
by closing the connection.
Field Summary |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
Constructor Summary |
Quit()
Creates new instance of command Quit. |
Quit(Quit original)
Cloning constructor. |
PROTOTYPE
public static final String PROTOTYPE
- Example how the message looks like - used during parser tests.
- See Also:
- Constant Field Values
Quit
public Quit()
- Creates new instance of command Quit.
Will shutdown the connection and potentialy kill and remove the
bot from a game (if sent to bot), the same can be achieved just
by closing the connection.
Corresponding GameBots message for this command is
QUIT.
Quit
public Quit(Quit original)
- Cloning constructor.
- Parameters:
original
-
toString
public String toString()
- Overrides:
toString
in class CommandMessage
toHtmlString
public String toHtmlString()
toMessage
public String toMessage()
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.