Enum Constant and Description |
---|
CREATE_FOG |
DARKEN_SKY |
PLAY_BOSS_MUSIC |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
static BossFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BossFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BossFlag DARKEN_SKY
public static final BossFlag PLAY_BOSS_MUSIC
public static final BossFlag CREATE_FOG
public static BossFlag[] values()
for (BossFlag c : BossFlag.values()) System.out.println(c);
public static BossFlag 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 nullpublic int getId()