protected static enum MixedFleetAI.State extends Enum<MixedFleetAI.State>
| Enum Constant and Description |
|---|
GOTO_ATTACK_POSITION |
HUNT |
LAUNCH_NUKES |
PRE_DEFCON4 |
WAIT_FOR_DEFCON1 |
| Modifier and Type | Method and Description |
|---|---|
static MixedFleetAI.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MixedFleetAI.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MixedFleetAI.State PRE_DEFCON4
public static final MixedFleetAI.State GOTO_ATTACK_POSITION
public static final MixedFleetAI.State WAIT_FOR_DEFCON1
public static final MixedFleetAI.State LAUNCH_NUKES
public static final MixedFleetAI.State HUNT
public static MixedFleetAI.State[] values()
for (MixedFleetAI.State c : MixedFleetAI.State.values()) System.out.println(c);
public static MixedFleetAI.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.