java.io.Serializable
, java.lang.Comparable<StdElecWeapon.ModeType>
protected static enum StdElecWeapon.ModeType extends java.lang.Enum<StdElecWeapon.ModeType>
Enum Constant | Description |
---|---|
DISINTEGRATE |
|
DISRUPT |
|
KILL |
|
LASER |
|
MAIM |
|
NORMAL |
|
SONIC |
|
STUN |
Modifier and Type | Method | Description |
---|---|---|
static StdElecWeapon.ModeType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static StdElecWeapon.ModeType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StdElecWeapon.ModeType STUN
public static final StdElecWeapon.ModeType NORMAL
public static final StdElecWeapon.ModeType KILL
public static final StdElecWeapon.ModeType DISINTEGRATE
public static final StdElecWeapon.ModeType MAIM
public static final StdElecWeapon.ModeType DISRUPT
public static final StdElecWeapon.ModeType LASER
public static final StdElecWeapon.ModeType SONIC
public static StdElecWeapon.ModeType[] values()
for (StdElecWeapon.ModeType c : StdElecWeapon.ModeType.values()) System.out.println(c);
public static StdElecWeapon.ModeType 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 null