rl.centurion.game
Enum InfantrySquadMovementOrder.Type

java.lang.Object
  extended by java.lang.Enum<InfantrySquadMovementOrder.Type>
      extended by rl.centurion.game.InfantrySquadMovementOrder.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InfantrySquadMovementOrder.Type>
Enclosing class:
InfantrySquadMovementOrder

public static enum InfantrySquadMovementOrder.Type
extends java.lang.Enum<InfantrySquadMovementOrder.Type>


Enum Constant Summary
CONCEAL
           
EMBARK
           
ENTER_BUILDING
           
EXIT_BUILDING
           
MOVE_DOWN_LEVEL
           
MOVE_UP_LEVEL
           
MOVEBACKWARD
           
MOVESTRAIGHT
           
OPPORTUNITY_FIRE
           
TURNLEFT
           
TURNRIGHT
           
 
Method Summary
static InfantrySquadMovementOrder.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static InfantrySquadMovementOrder.Type[] 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

MOVESTRAIGHT

public static final InfantrySquadMovementOrder.Type MOVESTRAIGHT

MOVEBACKWARD

public static final InfantrySquadMovementOrder.Type MOVEBACKWARD

TURNLEFT

public static final InfantrySquadMovementOrder.Type TURNLEFT

TURNRIGHT

public static final InfantrySquadMovementOrder.Type TURNRIGHT

EMBARK

public static final InfantrySquadMovementOrder.Type EMBARK

CONCEAL

public static final InfantrySquadMovementOrder.Type CONCEAL

ENTER_BUILDING

public static final InfantrySquadMovementOrder.Type ENTER_BUILDING

EXIT_BUILDING

public static final InfantrySquadMovementOrder.Type EXIT_BUILDING

MOVE_UP_LEVEL

public static final InfantrySquadMovementOrder.Type MOVE_UP_LEVEL

MOVE_DOWN_LEVEL

public static final InfantrySquadMovementOrder.Type MOVE_DOWN_LEVEL

OPPORTUNITY_FIRE

public static final InfantrySquadMovementOrder.Type OPPORTUNITY_FIRE
Method Detail

values

public static InfantrySquadMovementOrder.Type[] 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 (InfantrySquadMovementOrder.Type c : InfantrySquadMovementOrder.Type.values())
    System.out.println(c);

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

valueOf

public static InfantrySquadMovementOrder.Type 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