|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<InventoryUtil.Weapon.WeaponLevel>
com.amoebaman.kitmaster.handlers.InventoryUtil.Weapon.WeaponLevel
public static enum InventoryUtil.Weapon.WeaponLevel
The levels of weapon. Higher ordinals correspond to more powerful weapons.
| Enum Constant Summary | |
|---|---|
DIAMOND
Diamond weapons |
|
GOLD
Golden (butter) weapons |
|
IRON
Iron weapons |
|
STONE
Stone weapons |
|
WOOD
Wooden weapons |
|
| Method Summary | |
|---|---|
static InventoryUtil.Weapon.WeaponLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static InventoryUtil.Weapon.WeaponLevel[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final InventoryUtil.Weapon.WeaponLevel WOOD
public static final InventoryUtil.Weapon.WeaponLevel STONE
public static final InventoryUtil.Weapon.WeaponLevel GOLD
public static final InventoryUtil.Weapon.WeaponLevel IRON
public static final InventoryUtil.Weapon.WeaponLevel DIAMOND
| Method Detail |
|---|
public static InventoryUtil.Weapon.WeaponLevel[] values()
for (InventoryUtil.Weapon.WeaponLevel c : InventoryUtil.Weapon.WeaponLevel.values()) System.out.println(c);
public static InventoryUtil.Weapon.WeaponLevel 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 name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||