protected static enum Pilot.LauncherAmmunition extends java.lang.Enum<Pilot.LauncherAmmunition>
Enum Constant and Description |
---|
BULLET_AP |
DUAL_MINIMISSILE_AP_HE |
MINETHROWER_HE |
MISSILE_HE |
PROJECTILE_AP |
PROJECTILE_DOUBLE_BARREL_AP |
ROCKET_AP |
VARIABLE_MINIMISSILES_AP_HE |
Modifier and Type | Method and Description |
---|---|
static Pilot.LauncherAmmunition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Pilot.LauncherAmmunition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pilot.LauncherAmmunition BULLET_AP
public static final Pilot.LauncherAmmunition DUAL_MINIMISSILE_AP_HE
public static final Pilot.LauncherAmmunition MINETHROWER_HE
public static final Pilot.LauncherAmmunition MISSILE_HE
public static final Pilot.LauncherAmmunition PROJECTILE_AP
public static final Pilot.LauncherAmmunition PROJECTILE_DOUBLE_BARREL_AP
public static final Pilot.LauncherAmmunition ROCKET_AP
public static final Pilot.LauncherAmmunition VARIABLE_MINIMISSILES_AP_HE
public static Pilot.LauncherAmmunition 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 static Pilot.LauncherAmmunition[] values()
for (Pilot.LauncherAmmunition c : Pilot.LauncherAmmunition.values()) System.out.println(c);