public enum BossFlag extends Enum<BossFlag>
Enum Constant and Description |
---|
DARKEN_SKY |
PLAY_BOSS_MUSIC |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
static BossFlag |
valueOf(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 BossFlag[] values()
for (BossFlag c : BossFlag.values()) System.out.println(c);
public static BossFlag 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 nullpublic int getId()
Copyright © 2016–2021. All rights reserved.