Package org.rspeer.game.component
Enum EffectType
- java.lang.Object
-
- java.lang.Enum<EffectType>
-
- org.rspeer.game.component.EffectType
-
- All Implemented Interfaces:
Serializable
,Comparable<EffectType>
public enum EffectType extends Enum<EffectType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABYSSAL_SIRE_STUN
AMMO_REMAINING
BOUND
CHARGE
DESERT_HEAT_TIMER
DFS_SPEC
GWD_ALTAR
HOME_TELEPORT_COOLDOWN
IMBUED_HEART
MAGIC_IMBUE
MINIGAME_TELEPORT_COOLDOWN
SHADOW_VEIL
SOTD_SPEC
TELEBLOCK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
Vars.Type
getVarType()
static EffectType
valueOf(String name)
Returns the enum constant of this type with the specified name.static EffectType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABYSSAL_SIRE_STUN
public static final EffectType ABYSSAL_SIRE_STUN
-
BOUND
public static final EffectType BOUND
-
SOTD_SPEC
public static final EffectType SOTD_SPEC
-
IMBUED_HEART
public static final EffectType IMBUED_HEART
-
DFS_SPEC
public static final EffectType DFS_SPEC
-
CHARGE
public static final EffectType CHARGE
-
MAGIC_IMBUE
public static final EffectType MAGIC_IMBUE
-
GWD_ALTAR
public static final EffectType GWD_ALTAR
-
HOME_TELEPORT_COOLDOWN
public static final EffectType HOME_TELEPORT_COOLDOWN
-
MINIGAME_TELEPORT_COOLDOWN
public static final EffectType MINIGAME_TELEPORT_COOLDOWN
-
TELEBLOCK
public static final EffectType TELEBLOCK
-
SHADOW_VEIL
public static final EffectType SHADOW_VEIL
-
AMMO_REMAINING
public static final EffectType AMMO_REMAINING
-
DESERT_HEAT_TIMER
public static final EffectType DESERT_HEAT_TIMER
-
-
Method Detail
-
values
public static EffectType[] 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 (EffectType c : EffectType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EffectType 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
-
getIndex
public int getIndex()
-
getVarType
public Vars.Type getVarType()
-
-