public static enum MapDrawer.SpecialColor extends java.lang.Enum<MapDrawer.SpecialColor>
Enum Constant and Description |
---|
ASSIGNED_RESOURCES |
BASES |
CP |
FRONTIER |
GEYSERS |
HIGH_GROUND |
LAKES |
MINERALS |
SEA |
STATIC_BUILDINGS |
UNBUILDABLE |
VERY_HIGH_GROUND |
Modifier and Type | Method and Description |
---|---|
Color |
color() |
static MapDrawer.SpecialColor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MapDrawer.SpecialColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapDrawer.SpecialColor SEA
public static final MapDrawer.SpecialColor LAKES
public static final MapDrawer.SpecialColor UNBUILDABLE
public static final MapDrawer.SpecialColor HIGH_GROUND
public static final MapDrawer.SpecialColor VERY_HIGH_GROUND
public static final MapDrawer.SpecialColor MINERALS
public static final MapDrawer.SpecialColor GEYSERS
public static final MapDrawer.SpecialColor STATIC_BUILDINGS
public static final MapDrawer.SpecialColor BASES
public static final MapDrawer.SpecialColor ASSIGNED_RESOURCES
public static final MapDrawer.SpecialColor FRONTIER
public static final MapDrawer.SpecialColor CP
public static MapDrawer.SpecialColor[] values()
for (MapDrawer.SpecialColor c : MapDrawer.SpecialColor.values()) System.out.println(c);
public static MapDrawer.SpecialColor 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 nullpublic Color color()