java.io.Serializable
, java.lang.Comparable<BuildingSkill.Flag>
protected static enum BuildingSkill.Flag extends java.lang.Enum<BuildingSkill.Flag>
Enum Constant | Description |
---|---|
CAVEONLY |
|
DIR |
|
DIRUPDOWN |
|
DOWNONLY |
|
FRESHWATER |
|
INDOOR |
|
NODOWN |
|
NOWALL |
|
OUTDOOR |
|
SALTWATER |
|
UNDERWATERONLY |
|
UPONLY |
|
WATERONLY |
|
WATERSURFACEONLY |
Modifier and Type | Method | Description |
---|---|---|
static BuildingSkill.Flag |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static BuildingSkill.Flag[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuildingSkill.Flag DIR
public static final BuildingSkill.Flag DIRUPDOWN
public static final BuildingSkill.Flag NOWALL
public static final BuildingSkill.Flag INDOOR
public static final BuildingSkill.Flag OUTDOOR
public static final BuildingSkill.Flag CAVEONLY
public static final BuildingSkill.Flag NODOWN
public static final BuildingSkill.Flag DOWNONLY
public static final BuildingSkill.Flag WATERONLY
public static final BuildingSkill.Flag WATERSURFACEONLY
public static final BuildingSkill.Flag UNDERWATERONLY
public static final BuildingSkill.Flag SALTWATER
public static final BuildingSkill.Flag FRESHWATER
public static final BuildingSkill.Flag UPONLY
public static BuildingSkill.Flag[] values()
for (BuildingSkill.Flag c : BuildingSkill.Flag.values()) System.out.println(c);
public static BuildingSkill.Flag 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