public enum FieldTerrainType extends Enum<FieldTerrainType>
| Enum Constant and Description |
|---|
EMPTY |
FOG |
FOG_OBSTACLE |
MOUNTAIN |
OWNED |
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.collect.ImmutableMap<Integer,FieldTerrainType> |
NUMBER_TO_TERRAIN_TYPE |
| Modifier and Type | Method and Description |
|---|---|
static FieldTerrainType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldTerrainType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldTerrainType EMPTY
public static final FieldTerrainType MOUNTAIN
public static final FieldTerrainType FOG
public static final FieldTerrainType FOG_OBSTACLE
public static final FieldTerrainType OWNED
public static final com.google.common.collect.ImmutableMap<Integer,FieldTerrainType> NUMBER_TO_TERRAIN_TYPE
public static FieldTerrainType[] values()
for (FieldTerrainType c : FieldTerrainType.values()) System.out.println(c);
public static FieldTerrainType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017. All rights reserved.