public static enum BossInfo.Color extends java.lang.Enum<BossInfo.Color>
Enum Constant and Description |
---|
BLUE |
GREEN |
PINK |
PURPLE |
RED |
WHITE |
YELLOW |
Modifier and Type | Method and Description |
---|---|
static BossInfo.Color |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BossInfo.Color[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BossInfo.Color PINK
public static final BossInfo.Color BLUE
public static final BossInfo.Color RED
public static final BossInfo.Color GREEN
public static final BossInfo.Color YELLOW
public static final BossInfo.Color PURPLE
public static final BossInfo.Color WHITE
public static BossInfo.Color[] values()
for (BossInfo.Color c : BossInfo.Color.values()) System.out.println(c);
public static BossInfo.Color 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