public enum RandomEvent extends java.lang.Enum<RandomEvent>
Enum Constant and Description |
---|
AUTO_LOGIN |
BANK_PIN |
BREAK_MANAGER |
DEATHS_OFFICE |
DISMISS_RANDOM |
MAZE |
RESIZABLE_MODE |
WELCOME_SOLVER |
Modifier and Type | Method and Description |
---|---|
static RandomEvent |
forId(int id) |
int |
getId() |
static RandomEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RandomEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RandomEvent AUTO_LOGIN
public static final RandomEvent WELCOME_SOLVER
public static final RandomEvent RESIZABLE_MODE
public static final RandomEvent BANK_PIN
public static final RandomEvent BREAK_MANAGER
public static final RandomEvent DISMISS_RANDOM
public static final RandomEvent MAZE
public static final RandomEvent DEATHS_OFFICE
public static RandomEvent[] values()
for (RandomEvent c : RandomEvent.values()) System.out.println(c);
public static RandomEvent 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()
public static RandomEvent forId(int id)