Package org.rspeer.game.combat
Enum Combat.WeaponType
- java.lang.Object
-
- java.lang.Enum<Combat.WeaponType>
-
- org.rspeer.game.combat.Combat.WeaponType
-
- All Implemented Interfaces:
Serializable
,Comparable<Combat.WeaponType>
- Enclosing class:
- Combat
public static enum Combat.WeaponType extends Enum<Combat.WeaponType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Combat.AttackStyle[]
getAttackStyles()
static Combat.WeaponType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Combat.WeaponType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TYPE_0
public static final Combat.WeaponType TYPE_0
-
TYPE_1
public static final Combat.WeaponType TYPE_1
-
TYPE_2
public static final Combat.WeaponType TYPE_2
-
TYPE_3
public static final Combat.WeaponType TYPE_3
-
TYPE_4
public static final Combat.WeaponType TYPE_4
-
TYPE_5
public static final Combat.WeaponType TYPE_5
-
TYPE_6
public static final Combat.WeaponType TYPE_6
-
TYPE_7
public static final Combat.WeaponType TYPE_7
-
TYPE_8
public static final Combat.WeaponType TYPE_8
-
TYPE_9
public static final Combat.WeaponType TYPE_9
-
TYPE_10
public static final Combat.WeaponType TYPE_10
-
TYPE_11
public static final Combat.WeaponType TYPE_11
-
TYPE_12
public static final Combat.WeaponType TYPE_12
-
TYPE_13
public static final Combat.WeaponType TYPE_13
-
TYPE_14
public static final Combat.WeaponType TYPE_14
-
TYPE_15
public static final Combat.WeaponType TYPE_15
-
TYPE_16
public static final Combat.WeaponType TYPE_16
-
TYPE_17
public static final Combat.WeaponType TYPE_17
-
TYPE_18
public static final Combat.WeaponType TYPE_18
-
TYPE_19
public static final Combat.WeaponType TYPE_19
-
TYPE_20
public static final Combat.WeaponType TYPE_20
-
TYPE_21
public static final Combat.WeaponType TYPE_21
-
TYPE_22
public static final Combat.WeaponType TYPE_22
-
TYPE_23
public static final Combat.WeaponType TYPE_23
-
TYPE_24
public static final Combat.WeaponType TYPE_24
-
TYPE_25
public static final Combat.WeaponType TYPE_25
-
TYPE_26
public static final Combat.WeaponType TYPE_26
-
TYPE_27
public static final Combat.WeaponType TYPE_27
-
-
Method Detail
-
values
public static Combat.WeaponType[] 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 (Combat.WeaponType c : Combat.WeaponType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Combat.WeaponType 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
-
getAttackStyles
public Combat.AttackStyle[] getAttackStyles()
-
-