public static enum TileEngine.EnergyStage extends java.lang.Enum<TileEngine.EnergyStage>
| Modifier and Type | Field and Description |
|---|---|
static TileEngine.EnergyStage[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
static TileEngine.EnergyStage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TileEngine.EnergyStage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TileEngine.EnergyStage BLUE
public static final TileEngine.EnergyStage GREEN
public static final TileEngine.EnergyStage YELLOW
public static final TileEngine.EnergyStage RED
public static final TileEngine.EnergyStage OVERHEAT
public static final TileEngine.EnergyStage[] VALUES
public static TileEngine.EnergyStage[] values()
for (TileEngine.EnergyStage c : TileEngine.EnergyStage.values()) System.out.println(c);
public static TileEngine.EnergyStage 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