public static enum GameEvent.Life extends java.lang.Enum<GameEvent.Life>
| Enum Constant and Description |
|---|
Persistent
Event stays in the game queue for the duration of the game
|
Transient
Gets sent to the animation manager.
|
| Modifier and Type | Method and Description |
|---|---|
static GameEvent.Life |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GameEvent.Life[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GameEvent.Life Transient
public static final GameEvent.Life Persistent
public static GameEvent.Life[] values()
for (GameEvent.Life c : GameEvent.Life.values()) System.out.println(c);
public static GameEvent.Life 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