static enum CrossbowAttackTask.CrossbowState extends Enum<CrossbowAttackTask.CrossbowState>
| Enum Constant and Description |
|---|
CHARGED |
CHARGING |
READY_TO_ATTACK |
UNCHARGED |
| Modifier and Type | Method and Description |
|---|---|
static CrossbowAttackTask.CrossbowState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrossbowAttackTask.CrossbowState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrossbowAttackTask.CrossbowState UNCHARGED
public static final CrossbowAttackTask.CrossbowState CHARGING
public static final CrossbowAttackTask.CrossbowState CHARGED
public static final CrossbowAttackTask.CrossbowState READY_TO_ATTACK
public static CrossbowAttackTask.CrossbowState[] values()
for (CrossbowAttackTask.CrossbowState c : CrossbowAttackTask.CrossbowState.values()) System.out.println(c);
public static CrossbowAttackTask.CrossbowState 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 null