megamek.common
Enum IGame.Phase
java.lang.Object
java.lang.Enum<IGame.Phase>
megamek.common.IGame.Phase
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<IGame.Phase>
- Enclosing interface:
- IGame
public static enum IGame.Phase
- extends java.lang.Enum<IGame.Phase>
| 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 |
PHASE_UNKNOWN
public static final IGame.Phase PHASE_UNKNOWN
PHASE_LOUNGE
public static final IGame.Phase PHASE_LOUNGE
PHASE_SELECTION
public static final IGame.Phase PHASE_SELECTION
PHASE_EXCHANGE
public static final IGame.Phase PHASE_EXCHANGE
PHASE_DEPLOYMENT
public static final IGame.Phase PHASE_DEPLOYMENT
PHASE_INITIATIVE
public static final IGame.Phase PHASE_INITIATIVE
PHASE_INITIATIVE_REPORT
public static final IGame.Phase PHASE_INITIATIVE_REPORT
PHASE_TARGETING
public static final IGame.Phase PHASE_TARGETING
PHASE_TARGETING_REPORT
public static final IGame.Phase PHASE_TARGETING_REPORT
PHASE_MOVEMENT
public static final IGame.Phase PHASE_MOVEMENT
PHASE_MOVEMENT_REPORT
public static final IGame.Phase PHASE_MOVEMENT_REPORT
PHASE_OFFBOARD
public static final IGame.Phase PHASE_OFFBOARD
PHASE_OFFBOARD_REPORT
public static final IGame.Phase PHASE_OFFBOARD_REPORT
PHASE_FIRING
public static final IGame.Phase PHASE_FIRING
PHASE_FIRING_REPORT
public static final IGame.Phase PHASE_FIRING_REPORT
PHASE_PHYSICAL
public static final IGame.Phase PHASE_PHYSICAL
PHASE_PHYSICAL_REPORT
public static final IGame.Phase PHASE_PHYSICAL_REPORT
PHASE_END
public static final IGame.Phase PHASE_END
PHASE_END_REPORT
public static final IGame.Phase PHASE_END_REPORT
PHASE_VICTORY
public static final IGame.Phase PHASE_VICTORY
PHASE_DEPLOY_MINEFIELDS
public static final IGame.Phase PHASE_DEPLOY_MINEFIELDS
PHASE_STARTING_SCENARIO
public static final IGame.Phase PHASE_STARTING_SCENARIO
PHASE_SET_ARTYAUTOHITHEXES
public static final IGame.Phase PHASE_SET_ARTYAUTOHITHEXES
values
public static IGame.Phase[] 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 (IGame.Phase c : IGame.Phase.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static IGame.Phase 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
isDuringOrAfter
public boolean isDuringOrAfter(IGame.Phase otherPhase)
- Parameters:
phase_deployment2 -
- Returns:
isBefore
public boolean isBefore(IGame.Phase otherPhase)
- Parameters:
phase_offboard2 -
- Returns: