cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands
Class LeaveVehicle

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
      extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.LeaveVehicle

public class LeaveVehicle
extends CommandMessage

Representation of the GameBots2004 command LEAVE. Tries to leave vehicle we are currently driving.


Field Summary
static java.lang.String PROTOTYPE
          Example how the message looks like - used during parser tests.
 
Constructor Summary
LeaveVehicle()
          Creates new instance of command LeaveVehicle.
LeaveVehicle(LeaveVehicle original)
          Cloning constructor.
 
Method Summary
 java.lang.String toHtmlString()
           
 java.lang.String toMessage()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROTOTYPE

public static final java.lang.String PROTOTYPE
Example how the message looks like - used during parser tests.

See Also:
Constant Field Values
Constructor Detail

LeaveVehicle

public LeaveVehicle()
Creates new instance of command LeaveVehicle. Tries to leave vehicle we are currently driving. Corresponding GameBots message for this command is LEAVE.


LeaveVehicle

public LeaveVehicle(LeaveVehicle original)
Cloning constructor.

Parameters:
original -
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class CommandMessage

toHtmlString

public java.lang.String toHtmlString()

toMessage

public java.lang.String toMessage()