cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands
Class ContinuousMove
java.lang.Object
cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.ContinuousMove
public class ContinuousMove
- extends CommandMessage
Representation of the GameBots2004 command CMOVE.
The bot will continuously move straight ahead according to his
actual rotation. Other move commands will interupt this.
Field Summary |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
PROTOTYPE
public static final String PROTOTYPE
- Example how the message looks like - used during parser tests.
- See Also:
- Constant Field Values
ContinuousMove
public ContinuousMove()
- Creates new instance of command ContinuousMove.
The bot will continuously move straight ahead according to his
actual rotation. Other move commands will interupt this.
Corresponding GameBots message for this command is
CMOVE.
ContinuousMove
public ContinuousMove(ContinuousMove 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.