public enum MonsterType extends java.lang.Enum<MonsterType>
| Enum Constant and Description |
|---|
BARON_NASHOR |
BLUE_GOLEM |
DRAGON |
RED_LIZARD |
RIFTHERALD |
VILEMAW |
| Modifier and Type | Method and Description |
|---|---|
static MonsterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MonsterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonsterType BARON_NASHOR
public static final MonsterType BLUE_GOLEM
public static final MonsterType DRAGON
public static final MonsterType RED_LIZARD
public static final MonsterType RIFTHERALD
public static final MonsterType VILEMAW
public static MonsterType[] values()
for (MonsterType c : MonsterType.values()) System.out.println(c);
public static MonsterType 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