Enum OptionsTab.AttackOption
- java.lang.Object
-
- java.lang.Enum<OptionsTab.AttackOption>
-
- com.runemate.game.api.osrs.local.hud.interfaces.OptionsTab.AttackOption
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<OptionsTab.AttackOption>
- Enclosing class:
- OptionsTab
public static enum OptionsTab.AttackOption extends java.lang.Enum<OptionsTab.AttackOption>
The different settings regarding NPC and player attack options
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYS_RIGHT_CLICK
DEPENDS_ON_COMBAT_LEVELS
HIDDEN
LEFT_CLICK_WHERE_AVAILABLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OptionsTab.AttackOption
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static OptionsTab.AttackOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEPENDS_ON_COMBAT_LEVELS
public static final OptionsTab.AttackOption DEPENDS_ON_COMBAT_LEVELS
-
ALWAYS_RIGHT_CLICK
public static final OptionsTab.AttackOption ALWAYS_RIGHT_CLICK
-
LEFT_CLICK_WHERE_AVAILABLE
public static final OptionsTab.AttackOption LEFT_CLICK_WHERE_AVAILABLE
-
HIDDEN
public static final OptionsTab.AttackOption HIDDEN
-
-
Method Detail
-
values
public static OptionsTab.AttackOption[] 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 (OptionsTab.AttackOption c : OptionsTab.AttackOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OptionsTab.AttackOption 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
-
-