public static enum Tile.GroundHeight extends java.lang.Enum<Tile.GroundHeight>
Enum Constant and Description |
---|
HIGH_GROUND |
LOW_GROUND |
VERY_HIGH_GROUND |
Modifier and Type | Method and Description |
---|---|
int |
intValue() |
static Tile.GroundHeight |
parseGroundHeight(int height) |
static Tile.GroundHeight |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Tile.GroundHeight[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tile.GroundHeight LOW_GROUND
public static final Tile.GroundHeight HIGH_GROUND
public static final Tile.GroundHeight VERY_HIGH_GROUND
public static Tile.GroundHeight[] values()
for (Tile.GroundHeight c : Tile.GroundHeight.values()) System.out.println(c);
public static Tile.GroundHeight 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 nullpublic int intValue()
public static Tile.GroundHeight parseGroundHeight(int height)