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