public static enum Description.Type extends java.lang.Enum<Description.Type>
Enum Constant and Description |
---|
ACTION_TOOLTIP |
ASTEROID |
CUSTOM |
FACTION |
PLANET |
RESOURCE |
SHIP |
SHIP_SYSTEM |
TERRAIN |
WEAPON |
Modifier and Type | Method and Description |
---|---|
static Description.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Description.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Description.Type SHIP
public static final Description.Type WEAPON
public static final Description.Type SHIP_SYSTEM
public static final Description.Type RESOURCE
public static final Description.Type ACTION_TOOLTIP
public static final Description.Type PLANET
public static final Description.Type ASTEROID
public static final Description.Type FACTION
public static final Description.Type TERRAIN
public static final Description.Type CUSTOM
public static Description.Type[] values()
for (Description.Type c : Description.Type.values()) System.out.println(c);
public static Description.Type 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 © 2013 Fractal Softworks, LLC. All Rights Reserved.