cz.cuni.amis.pogamut.defcon.example
Enum MixedFleetAI.State
java.lang.Object
java.lang.Enum<MixedFleetAI.State>
cz.cuni.amis.pogamut.defcon.example.MixedFleetAI.State
- All Implemented Interfaces:
- Serializable, Comparable<MixedFleetAI.State>
- Enclosing class:
- MixedFleetAI
protected static enum MixedFleetAI.State
- extends Enum<MixedFleetAI.State>
PRE_DEFCON4
public static final MixedFleetAI.State PRE_DEFCON4
GOTO_ATTACK_POSITION
public static final MixedFleetAI.State GOTO_ATTACK_POSITION
WAIT_FOR_DEFCON1
public static final MixedFleetAI.State WAIT_FOR_DEFCON1
LAUNCH_NUKES
public static final MixedFleetAI.State LAUNCH_NUKES
HUNT
public static final MixedFleetAI.State HUNT
values
public static MixedFleetAI.State[] 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 (MixedFleetAI.State c : MixedFleetAI.State.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MixedFleetAI.State valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.