rl.leviathan.game
Enum LeviathanGameTurn.MovementPhase

java.lang.Object
  extended by java.lang.Enum<LeviathanGameTurn.MovementPhase>
      extended by rl.leviathan.game.LeviathanGameTurn.MovementPhase
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LeviathanGameTurn.MovementPhase>
Enclosing class:
LeviathanGameTurn

public static enum LeviathanGameTurn.MovementPhase
extends java.lang.Enum<LeviathanGameTurn.MovementPhase>


Enum Constant Summary
MOVE_BATTLESHIPS
           
MOVE_CORVETTES
           
MOVE_CRUISERS
           
MOVE_DESTROYERS
           
MOVE_ESCORTS
           
MOVE_FIGHTERFLIGHTS
           
MOVE_FIGHTERGROUPS
           
MOVE_FIGHTERSQUADRONS
           
MOVE_FRIGATES
           
MOVE_GUNBOATS
           
MOVE_INDIVIDUALSMALLCRAFT
           
 
Method Summary
 java.lang.String toString()
           
static LeviathanGameTurn.MovementPhase valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LeviathanGameTurn.MovementPhase[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MOVE_BATTLESHIPS

public static final LeviathanGameTurn.MovementPhase MOVE_BATTLESHIPS

MOVE_CRUISERS

public static final LeviathanGameTurn.MovementPhase MOVE_CRUISERS

MOVE_FRIGATES

public static final LeviathanGameTurn.MovementPhase MOVE_FRIGATES

MOVE_DESTROYERS

public static final LeviathanGameTurn.MovementPhase MOVE_DESTROYERS

MOVE_ESCORTS

public static final LeviathanGameTurn.MovementPhase MOVE_ESCORTS

MOVE_CORVETTES

public static final LeviathanGameTurn.MovementPhase MOVE_CORVETTES

MOVE_GUNBOATS

public static final LeviathanGameTurn.MovementPhase MOVE_GUNBOATS

MOVE_FIGHTERGROUPS

public static final LeviathanGameTurn.MovementPhase MOVE_FIGHTERGROUPS

MOVE_FIGHTERFLIGHTS

public static final LeviathanGameTurn.MovementPhase MOVE_FIGHTERFLIGHTS

MOVE_FIGHTERSQUADRONS

public static final LeviathanGameTurn.MovementPhase MOVE_FIGHTERSQUADRONS

MOVE_INDIVIDUALSMALLCRAFT

public static final LeviathanGameTurn.MovementPhase MOVE_INDIVIDUALSMALLCRAFT
Method Detail

values

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

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

valueOf

public static LeviathanGameTurn.MovementPhase 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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<LeviathanGameTurn.MovementPhase>