se.chalmers.dat255.risk.model
public static enum MissionHandler.MissionType extends java.lang.Enum<MissionHandler.MissionType>
Enum Constant and Description |
---|
CONQUER_CONTINENTS |
CONQUER_PROVINCES |
ELIMINATE |
Modifier and Type | Method and Description |
---|---|
static MissionHandler.MissionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MissionHandler.MissionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MissionHandler.MissionType ELIMINATE
public static final MissionHandler.MissionType CONQUER_CONTINENTS
public static final MissionHandler.MissionType CONQUER_PROVINCES
public static MissionHandler.MissionType[] values()
for (MissionHandler.MissionType c : MissionHandler.MissionType.values()) System.out.println(c);
public static MissionHandler.MissionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null