cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands
Class Throw
java.lang.Object
cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.Throw
public class Throw
- extends CommandMessage
Representation of the GameBots2004 command THROW.
Without any parameters. Will drop your current weapon (if it is
possible) and will change to best weapon available. If done
successfully, message THROWN will come right away.
Field Summary |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
Constructor Summary |
Throw()
Creates new instance of command Throw. |
Throw(Throw original)
Cloning constructor. |
PROTOTYPE
public static final String PROTOTYPE
- Example how the message looks like - used during parser tests.
- See Also:
- Constant Field Values
Throw
public Throw()
- Creates new instance of command Throw.
Without any parameters. Will drop your current weapon (if it is
possible) and will change to best weapon available. If done
successfully, message THROWN will come right away.
Corresponding GameBots message for this command is
THROW.
Throw
public Throw(Throw original)
- Cloning constructor.
- Parameters:
original
-
toString
public String toString()
- Overrides:
toString
in class CommandMessage
toHtmlString
public String toHtmlString()
toMessage
public String toMessage()
Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.