public enum CommandNames extends java.lang.Enum<CommandNames>
Enum Constant and Description |
---|
AllStop |
Brake |
Cloak |
Collect |
DeployLaserBeacon |
DeploySpaceMine |
DestroyAllLaserBeacons |
Eject |
FireTorpedo |
Idle |
LowerEnergyScoop |
Radar |
RaiseShields |
Repair |
Rotate |
Scan |
Steer |
Thrust |
Warp |
Modifier and Type | Method and Description |
---|---|
static CommandNames |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandNames[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandNames AllStop
public static final CommandNames Brake
public static final CommandNames Cloak
public static final CommandNames Collect
public static final CommandNames DeployLaserBeacon
public static final CommandNames DeploySpaceMine
public static final CommandNames DestroyAllLaserBeacons
public static final CommandNames Eject
public static final CommandNames FireTorpedo
public static final CommandNames Idle
public static final CommandNames LowerEnergyScoop
public static final CommandNames Radar
public static final CommandNames RaiseShields
public static final CommandNames Repair
public static final CommandNames Rotate
public static final CommandNames Scan
public static final CommandNames Steer
public static final CommandNames Thrust
public static final CommandNames Warp
public static CommandNames[] values()
for (CommandNames c : CommandNames.values()) System.out.println(c);
public static CommandNames 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