public enum ECityState extends java.lang.Enum<ECityState>
| Enum Constant | Description |
|---|---|
BLOCKADE |
|
FIRE |
|
FROZEN_HARBOR |
|
PLAGUE |
|
SIEGE |
| Modifier and Type | Method | Description |
|---|---|---|
static ECityState |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ECityState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECityState PLAGUE
public static final ECityState SIEGE
public static final ECityState BLOCKADE
public static final ECityState FROZEN_HARBOR
public static final ECityState FIRE
public static ECityState[] values()
for (ECityState c : ECityState.values()) System.out.println(c);
public static ECityState 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 © 2011-2018 Sahits GmbH. All Rights Reserved.