public enum UniverseScenario extends java.lang.Enum<UniverseScenario> implements com.google.gwt.user.client.rpc.IsSerializable
Enum Constant and Description |
---|
BINARY_STAR_SYSTEM
The binary star system.
|
MOONS_ONLY
The moons only.
|
SUN_AND_MOONS
The sun and moons.
|
Modifier and Type | Method and Description |
---|---|
static UniverseScenario |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UniverseScenario[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UniverseScenario BINARY_STAR_SYSTEM
public static final UniverseScenario MOONS_ONLY
public static final UniverseScenario SUN_AND_MOONS
public static UniverseScenario[] values()
for (UniverseScenario c : UniverseScenario.values()) System.out.println(c);
public static UniverseScenario 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