public static enum FoodShortageEvent.Ending extends java.lang.Enum<FoodShortageEvent.Ending>
Enum Constant and Description |
---|
DURATION_EXPIRED |
PLAYER_ENDED |
PLAYER_ENDED_BLACK |
RELIEF_ARRIVED |
Modifier and Type | Method and Description |
---|---|
static FoodShortageEvent.Ending |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FoodShortageEvent.Ending[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FoodShortageEvent.Ending DURATION_EXPIRED
public static final FoodShortageEvent.Ending RELIEF_ARRIVED
public static final FoodShortageEvent.Ending PLAYER_ENDED
public static final FoodShortageEvent.Ending PLAYER_ENDED_BLACK
public static FoodShortageEvent.Ending[] values()
for (FoodShortageEvent.Ending c : FoodShortageEvent.Ending.values()) System.out.println(c);
public static FoodShortageEvent.Ending 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 nullCopyright © 2013 Fractal Softworks, LLC. All Rights Reserved.