public static enum Armor.Type extends Enum<Armor.Type>
Modifier and Type | Method and Description |
---|---|
static Armor.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Armor.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Armor.Type Plate
public static final Armor.Type Chain
public static final Armor.Type Leather
public static final Armor.Type Shield
public static Armor.Type[] values()
for (Armor.Type c : Armor.Type.values()) System.out.println(c);
public static Armor.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null