public static enum Tile.GroundHeight extends Enum<Tile.GroundHeight>
Enum Constant and Description |
---|
HIGH_GROUND |
LOW_GROUND |
VERY_HIGH_GROUND |
Modifier and Type | Method and Description |
---|---|
static Tile.GroundHeight |
valueOf(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(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 © 2022. All rights reserved.