Package org.rspeer.game.effect
Enum OverheadPrayer
- java.lang.Object
-
- java.lang.Enum<OverheadPrayer>
-
- org.rspeer.game.effect.OverheadPrayer
-
- All Implemented Interfaces:
Serializable
,Comparable<OverheadPrayer>
public enum OverheadPrayer extends Enum<OverheadPrayer>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFLECT_MAGE
DEFLECT_MELEE
DEFLECT_RANGE
MAGE_MELEE
MAGIC
MELEE
RANGE
RANGE_MAGE
RANGE_MAGE_MELEE
RANGE_MELEE
REDEMPTION
RETRIBUTION
SMITE
SOUL_SPLIT
WRATH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Prayer>
getPrayers()
static OverheadPrayer
valueOf(int id)
Returns the enum constant of this type with the specified name.static OverheadPrayer
valueOf(String name)
Returns the enum constant of this type with the specified name.static OverheadPrayer[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MELEE
public static final OverheadPrayer MELEE
-
RANGE
public static final OverheadPrayer RANGE
-
MAGIC
public static final OverheadPrayer MAGIC
-
RETRIBUTION
public static final OverheadPrayer RETRIBUTION
-
SMITE
public static final OverheadPrayer SMITE
-
REDEMPTION
public static final OverheadPrayer REDEMPTION
-
RANGE_MAGE
public static final OverheadPrayer RANGE_MAGE
-
RANGE_MELEE
public static final OverheadPrayer RANGE_MELEE
-
MAGE_MELEE
public static final OverheadPrayer MAGE_MELEE
-
RANGE_MAGE_MELEE
public static final OverheadPrayer RANGE_MAGE_MELEE
-
WRATH
public static final OverheadPrayer WRATH
-
SOUL_SPLIT
public static final OverheadPrayer SOUL_SPLIT
-
DEFLECT_MELEE
public static final OverheadPrayer DEFLECT_MELEE
-
DEFLECT_RANGE
public static final OverheadPrayer DEFLECT_RANGE
-
DEFLECT_MAGE
public static final OverheadPrayer DEFLECT_MAGE
-
-
Method Detail
-
values
public static OverheadPrayer[] 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 (OverheadPrayer c : OverheadPrayer.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OverheadPrayer valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
public static OverheadPrayer valueOf(int id)
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:
id
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-