rl.leviathan.game
Enum LeviathanGameTurn.CombatPhase
java.lang.Object
java.lang.Enum<LeviathanGameTurn.CombatPhase>
rl.leviathan.game.LeviathanGameTurn.CombatPhase
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<LeviathanGameTurn.CombatPhase>
- Enclosing class:
- LeviathanGameTurn
public static enum LeviathanGameTurn.CombatPhase
- extends java.lang.Enum<LeviathanGameTurn.CombatPhase>
| 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 |
DECLARE_SHIP_WEAPON_FIRE
public static final LeviathanGameTurn.CombatPhase DECLARE_SHIP_WEAPON_FIRE
DECLARE_POINT_DEFENCE_FIRE
public static final LeviathanGameTurn.CombatPhase DECLARE_POINT_DEFENCE_FIRE
RESOLVE_POINT_DEFENCE_FIRE
public static final LeviathanGameTurn.CombatPhase RESOLVE_POINT_DEFENCE_FIRE
RESOLVE_SHIP_WEAPON_FIRE
public static final LeviathanGameTurn.CombatPhase RESOLVE_SHIP_WEAPON_FIRE
DECLARE_FIGHTER_WEAPON_FIRE
public static final LeviathanGameTurn.CombatPhase DECLARE_FIGHTER_WEAPON_FIRE
RESOLVE_FIGHTER_WEAPON_FIRE
public static final LeviathanGameTurn.CombatPhase RESOLVE_FIGHTER_WEAPON_FIRE
values
public static LeviathanGameTurn.CombatPhase[] 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.CombatPhase c : LeviathanGameTurn.CombatPhase.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.CombatPhase 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.CombatPhase>