public static enum WeaponAPI.WeaponType extends java.lang.Enum<WeaponAPI.WeaponType>
| Enum Constant and Description |
|---|
BALLISTIC |
BUILT_IN |
COMPOSITE |
DECORATIVE |
ENERGY |
HYBRID |
LAUNCH_BAY |
MISSILE |
STATION_MODULE |
SYNERGY |
SYSTEM |
UNIVERSAL |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayName() |
static WeaponAPI.WeaponType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WeaponAPI.WeaponType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeaponAPI.WeaponType BALLISTIC
public static final WeaponAPI.WeaponType ENERGY
public static final WeaponAPI.WeaponType MISSILE
public static final WeaponAPI.WeaponType LAUNCH_BAY
public static final WeaponAPI.WeaponType UNIVERSAL
public static final WeaponAPI.WeaponType HYBRID
public static final WeaponAPI.WeaponType SYNERGY
public static final WeaponAPI.WeaponType COMPOSITE
public static final WeaponAPI.WeaponType BUILT_IN
public static final WeaponAPI.WeaponType DECORATIVE
public static final WeaponAPI.WeaponType SYSTEM
public static final WeaponAPI.WeaponType STATION_MODULE
public static WeaponAPI.WeaponType[] values()
for (WeaponAPI.WeaponType c : WeaponAPI.WeaponType.values()) System.out.println(c);
public static WeaponAPI.WeaponType 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 java.lang.String getDisplayName()