public static enum WEAP.WeaponType extends java.lang.Enum<WEAP.WeaponType>
Enum Constant and Description |
---|
Bow |
Crossbow |
Dagger |
OneHAxe |
OneHBlunt |
OneHSword |
Projectile |
Staff |
TwoHBluntAxe |
TwoHSword |
Modifier and Type | Method and Description |
---|---|
static WEAP.WeaponType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WEAP.WeaponType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WEAP.WeaponType Projectile
public static final WEAP.WeaponType OneHSword
public static final WEAP.WeaponType Dagger
public static final WEAP.WeaponType OneHAxe
public static final WEAP.WeaponType OneHBlunt
public static final WEAP.WeaponType TwoHSword
public static final WEAP.WeaponType TwoHBluntAxe
public static final WEAP.WeaponType Bow
public static final WEAP.WeaponType Staff
public static final WEAP.WeaponType Crossbow
public static WEAP.WeaponType[] values()
for (WEAP.WeaponType c : WEAP.WeaponType.values()) System.out.println(c);
public static WEAP.WeaponType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null