public enum EnumAction extends java.lang.Enum<EnumAction>
Modifier and Type | Method and Description |
---|---|
static EnumAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumAction NONE
public static final EnumAction EAT
public static final EnumAction DRINK
public static final EnumAction BLOCK
public static final EnumAction BOW
public static final EnumAction SPEAR
public static EnumAction[] values()
for (EnumAction c : EnumAction.values()) System.out.println(c);
public static EnumAction 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