public static enum ICombatAPI.AttackStyle extends java.lang.Enum<ICombatAPI.AttackStyle>
Enum Constant and Description |
---|
ACCURATE |
ACCURATERANGING |
AGGRESSIVE |
CASTING |
CONTROLLED |
DEFENSIVE |
DEFENSIVE_CASTING |
LONGRANGE |
OTHER |
RANGING |
Modifier and Type | Method and Description |
---|---|
static ICombatAPI.AttackStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ICombatAPI.AttackStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ICombatAPI.AttackStyle ACCURATE
public static final ICombatAPI.AttackStyle AGGRESSIVE
public static final ICombatAPI.AttackStyle DEFENSIVE
public static final ICombatAPI.AttackStyle CONTROLLED
public static final ICombatAPI.AttackStyle ACCURATERANGING
public static final ICombatAPI.AttackStyle RANGING
public static final ICombatAPI.AttackStyle LONGRANGE
public static final ICombatAPI.AttackStyle CASTING
public static final ICombatAPI.AttackStyle DEFENSIVE_CASTING
public static final ICombatAPI.AttackStyle OTHER
public static ICombatAPI.AttackStyle[] values()
for (ICombatAPI.AttackStyle c : ICombatAPI.AttackStyle.values()) System.out.println(c);
public static ICombatAPI.AttackStyle 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