megamek.client.commands
Class MoveCommand

java.lang.Object
  extended by megamek.client.commands.ClientCommand
      extended by megamek.client.commands.MoveCommand

public class MoveCommand
extends ClientCommand

Author:
dirk

Field Summary
(package private)  int gear
           
static int GEAR_BACKUP
           
static int GEAR_CHARGE
           
static int GEAR_DFA
           
static int GEAR_JUMP
           
static int GEAR_LAND
           
static int GEAR_SWIM
           
static int GEAR_TURN
           
 
Fields inherited from class megamek.client.commands.ClientCommand
client
 
Constructor Summary
MoveCommand(Client client)
           
 
Method Summary
 Entity ce()
          Returns the current Entity.
 java.lang.String run(java.lang.String[] args)
          Run this command with the arguments supplied
 
Methods inherited from class megamek.client.commands.ClientCommand
getDirection, getDirection, getHelp, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GEAR_LAND

public static final int GEAR_LAND
See Also:
Constant Field Values

GEAR_BACKUP

public static final int GEAR_BACKUP
See Also:
Constant Field Values

GEAR_JUMP

public static final int GEAR_JUMP
See Also:
Constant Field Values

GEAR_CHARGE

public static final int GEAR_CHARGE
See Also:
Constant Field Values

GEAR_DFA

public static final int GEAR_DFA
See Also:
Constant Field Values

GEAR_TURN

public static final int GEAR_TURN
See Also:
Constant Field Values

GEAR_SWIM

public static final int GEAR_SWIM
See Also:
Constant Field Values

gear

int gear
Constructor Detail

MoveCommand

public MoveCommand(Client client)
Method Detail

run

public java.lang.String run(java.lang.String[] args)
Description copied from class: ClientCommand
Run this command with the arguments supplied

Specified by:
run in class ClientCommand

ce

public Entity ce()
Returns the current Entity.