Package com.epicbot.api.shared.methods
Enum ICombatAPI.AttackStyle
- java.lang.Object
-
- java.lang.Enum<ICombatAPI.AttackStyle>
-
- com.epicbot.api.shared.methods.ICombatAPI.AttackStyle
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ICombatAPI.AttackStyle>
- Enclosing interface:
- ICombatAPI
public static enum ICombatAPI.AttackStyle extends java.lang.Enum<ICombatAPI.AttackStyle>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCURATE
ACCURATERANGING
AGGRESSIVE
CASTING
CONTROLLED
DEFENSIVE
DEFENSIVE_CASTING
LONGRANGE
OTHER
RANGING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
ACCURATE
public static final ICombatAPI.AttackStyle ACCURATE
-
AGGRESSIVE
public static final ICombatAPI.AttackStyle AGGRESSIVE
-
DEFENSIVE
public static final ICombatAPI.AttackStyle DEFENSIVE
-
CONTROLLED
public static final ICombatAPI.AttackStyle CONTROLLED
-
ACCURATERANGING
public static final ICombatAPI.AttackStyle ACCURATERANGING
-
RANGING
public static final ICombatAPI.AttackStyle RANGING
-
LONGRANGE
public static final ICombatAPI.AttackStyle LONGRANGE
-
CASTING
public static final ICombatAPI.AttackStyle CASTING
-
DEFENSIVE_CASTING
public static final ICombatAPI.AttackStyle DEFENSIVE_CASTING
-
OTHER
public static final ICombatAPI.AttackStyle OTHER
-
-
Method Detail
-
values
public static ICombatAPI.AttackStyle[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ICombatAPI.AttackStyle c : ICombatAPI.AttackStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ICombatAPI.AttackStyle valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-