megamek.common
Enum EntityMovementMode

java.lang.Object
  extended by java.lang.Enum<EntityMovementMode>
      extended by megamek.common.EntityMovementMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EntityMovementMode>

public enum EntityMovementMode
extends java.lang.Enum<EntityMovementMode>

This interface represents the Entity Movement Types


Enum Constant Summary
AERODYNE
           
AEROSPACE
           
AIRMECH
           
BIPED
           
BIPED_SWIM
           
HOVER
           
HYDROFOIL
           
INF_JUMP
           
INF_LEG
           
INF_MOTORIZED
           
INF_UMU
           
NAVAL
           
NONE
           
QUAD
           
QUAD_SWIM
           
SPHEROID
           
SUBMARINE
           
TRACKED
           
VTOL
           
WHEELED
           
WIGE
           
 
Method Summary
static EntityMovementMode getMode(java.lang.String str)
           
static EntityMovementMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EntityMovementMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final EntityMovementMode NONE

BIPED

public static final EntityMovementMode BIPED

QUAD

public static final EntityMovementMode QUAD

TRACKED

public static final EntityMovementMode TRACKED

WHEELED

public static final EntityMovementMode WHEELED

HOVER

public static final EntityMovementMode HOVER

VTOL

public static final EntityMovementMode VTOL

NAVAL

public static final EntityMovementMode NAVAL

HYDROFOIL

public static final EntityMovementMode HYDROFOIL

SUBMARINE

public static final EntityMovementMode SUBMARINE

INF_LEG

public static final EntityMovementMode INF_LEG

INF_MOTORIZED

public static final EntityMovementMode INF_MOTORIZED

INF_JUMP

public static final EntityMovementMode INF_JUMP

BIPED_SWIM

public static final EntityMovementMode BIPED_SWIM

QUAD_SWIM

public static final EntityMovementMode QUAD_SWIM

WIGE

public static final EntityMovementMode WIGE

AERODYNE

public static final EntityMovementMode AERODYNE

SPHEROID

public static final EntityMovementMode SPHEROID

INF_UMU

public static final EntityMovementMode INF_UMU

AIRMECH

public static final EntityMovementMode AIRMECH

AEROSPACE

public static final EntityMovementMode AEROSPACE
Method Detail

values

public static EntityMovementMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (EntityMovementMode c : EntityMovementMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EntityMovementMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getMode

public static EntityMovementMode getMode(java.lang.String str)