Package org.rspeer.game.parameter
Enum ItemParameter
- java.lang.Object
-
- java.lang.Enum<ItemParameter>
-
- org.rspeer.game.parameter.ItemParameter
-
- All Implemented Interfaces:
Serializable,Comparable<ItemParameter>
public enum ItemParameter extends Enum<ItemParameter>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetId()booleanisString()static ItemParametervalueOf(String name)Returns the enum constant of this type with the specified name.static ItemParameter[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STAB_ATTACK
public static final ItemParameter STAB_ATTACK
-
SLASH_ATTACK
public static final ItemParameter SLASH_ATTACK
-
CRUSH_ATTACK
public static final ItemParameter CRUSH_ATTACK
-
MAGIC_ATTACK
public static final ItemParameter MAGIC_ATTACK
-
RANGED_ATTACK
public static final ItemParameter RANGED_ATTACK
-
STAB_DEFENCE
public static final ItemParameter STAB_DEFENCE
-
SLASH_DEFENCE
public static final ItemParameter SLASH_DEFENCE
-
CRUSH_DEFENCE
public static final ItemParameter CRUSH_DEFENCE
-
MAGIC_DEFENCE
public static final ItemParameter MAGIC_DEFENCE
-
RANGED_DEFENCE
public static final ItemParameter RANGED_DEFENCE
-
MELEE_STRENGTH
public static final ItemParameter MELEE_STRENGTH
-
PRAYER_BONUS
public static final ItemParameter PRAYER_BONUS
-
RANGED_STRENGTH
public static final ItemParameter RANGED_STRENGTH
-
MAGIC_STRENGTH
public static final ItemParameter MAGIC_STRENGTH
-
ATTACK_RANGE
public static final ItemParameter ATTACK_RANGE
-
ATTACK_SPEED
public static final ItemParameter ATTACK_SPEED
-
STAT_REQUIRED_LEVEL_1
public static final ItemParameter STAT_REQUIRED_LEVEL_1
-
STAT_REQUIRED_TYPE_2
public static final ItemParameter STAT_REQUIRED_TYPE_2
-
STAT_REQUIRED_LEVEL_2
public static final ItemParameter STAT_REQUIRED_LEVEL_2
-
STAT_REQUIRED_TYPE_3
public static final ItemParameter STAT_REQUIRED_TYPE_3
-
STAT_REQUIRED_LEVEL_3
public static final ItemParameter STAT_REQUIRED_LEVEL_3
-
SARADOMIN
public static final ItemParameter SARADOMIN
-
ZAMORAK
public static final ItemParameter ZAMORAK
-
GUTHIX
public static final ItemParameter GUTHIX
-
DEMONBANE
public static final ItemParameter DEMONBANE
-
COX_POTION
public static final ItemParameter COX_POTION
-
DEGRADES_IN_COMBAT
public static final ItemParameter DEGRADES_IN_COMBAT
-
SLAYER_HELM
public static final ItemParameter SLAYER_HELM
-
LAST_MAN_STANDING
public static final ItemParameter LAST_MAN_STANDING
-
POTION
public static final ItemParameter POTION
-
SILVER_STRENGTH
public static final ItemParameter SILVER_STRENGTH
-
SEED
public static final ItemParameter SEED
-
AMMO
public static final ItemParameter AMMO
-
DIZANAS_QUIVER
public static final ItemParameter DIZANAS_QUIVER
-
-
Method Detail
-
values
public static ItemParameter[] 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 (ItemParameter c : ItemParameter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ItemParameter 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
-
getId
public int getId()
-
isString
public boolean isString()
-
-