public static enum CharSprite.State extends java.lang.Enum<CharSprite.State>
Enum Constant and Description |
---|
BURNING |
FROZEN |
ILLUMINATED |
INVISIBLE |
LEVITATING |
PARALYSED |
Modifier and Type | Method and Description |
---|---|
static CharSprite.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CharSprite.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CharSprite.State BURNING
public static final CharSprite.State LEVITATING
public static final CharSprite.State INVISIBLE
public static final CharSprite.State PARALYSED
public static final CharSprite.State FROZEN
public static final CharSprite.State ILLUMINATED
public static CharSprite.State[] values()
for (CharSprite.State c : CharSprite.State.values()) System.out.println(c);
public static CharSprite.State 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