rl.leviathan.game
Enum LeviathanMovementRound.ElementType
java.lang.Object
java.lang.Enum<LeviathanMovementRound.ElementType>
rl.leviathan.game.LeviathanMovementRound.ElementType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<LeviathanMovementRound.ElementType>
- Enclosing class:
- LeviathanMovementRound
public static enum LeviathanMovementRound.ElementType
- extends java.lang.Enum<LeviathanMovementRound.ElementType>
| 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 |
UNKNOWN
public static final LeviathanMovementRound.ElementType UNKNOWN
BATTLESHIP
public static final LeviathanMovementRound.ElementType BATTLESHIP
CRUISER
public static final LeviathanMovementRound.ElementType CRUISER
FRIGATE
public static final LeviathanMovementRound.ElementType FRIGATE
DESTROYER
public static final LeviathanMovementRound.ElementType DESTROYER
ESCORT
public static final LeviathanMovementRound.ElementType ESCORT
CORVETTE
public static final LeviathanMovementRound.ElementType CORVETTE
GUNBOAT
public static final LeviathanMovementRound.ElementType GUNBOAT
FIGHTERGROUP
public static final LeviathanMovementRound.ElementType FIGHTERGROUP
FIGHTERFLIGHT
public static final LeviathanMovementRound.ElementType FIGHTERFLIGHT
FIGHTERSQUADRON
public static final LeviathanMovementRound.ElementType FIGHTERSQUADRON
SMALLCRAFT
public static final LeviathanMovementRound.ElementType SMALLCRAFT
values
public static LeviathanMovementRound.ElementType[] 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 (LeviathanMovementRound.ElementType c : LeviathanMovementRound.ElementType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LeviathanMovementRound.ElementType 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