|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<EObjective>
ch.sahits.game.openpatrician.model.EObjective
public enum EObjective
Enumaration defining the games objectives
| Enum Constant Summary | |
|---|---|
BUSINESSVALUE_100M
Businessvalue 100'000'000 |
|
BUSINESSVALUE_10M
Businessvalue 10'000'000 |
|
BUSINESSVALUE_1M
Businessvalue 1'000'000 |
|
ELDERMAN_2_YEAR
Elderman in 2 years |
|
ELDERMAN_3_YEAR
Elderman in 3 years |
|
ELDERMAN_5_YEAR
Elderman in 5 years |
|
ENDLESS
Endless game |
|
MAYOR_1_YEAR
Mayor in 1 year |
|
MAYOR_2_YEAR
Mayor in 2 years |
|
MAYOR_3_YEAR
Mayor in 3 years |
|
| Method Summary | |
|---|---|
static EObjective |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EObjective[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final EObjective ENDLESS
public static final EObjective MAYOR_1_YEAR
public static final EObjective MAYOR_2_YEAR
public static final EObjective MAYOR_3_YEAR
public static final EObjective ELDERMAN_2_YEAR
public static final EObjective ELDERMAN_3_YEAR
public static final EObjective ELDERMAN_5_YEAR
public static final EObjective BUSINESSVALUE_1M
public static final EObjective BUSINESSVALUE_10M
public static final EObjective BUSINESSVALUE_100M
| Method Detail |
|---|
public static EObjective[] values()
for (EObjective c : EObjective.values()) System.out.println(c);
public static EObjective valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||