public enum ShipCommand extends java.lang.Enum<ShipCommand>
Enum Constant and Description |
---|
ACCELERATE |
ACCELERATE_BACKWARDS |
DECELERATE |
FIRE |
HOLD_FIRE |
PULL_BACK_FIGHTERS |
SELECT_GROUP |
STRAFE_LEFT |
STRAFE_RIGHT |
TOGGLE_AUTOFIRE |
TOGGLE_SHIELD_OR_PHASE_CLOAK |
TURN_LEFT |
TURN_RIGHT |
USE_SELECTED_GROUP
Deprecated.
|
USE_SYSTEM |
VENT_FLUX |
Modifier and Type | Method and Description |
---|---|
static ShipCommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShipCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShipCommand TURN_LEFT
public static final ShipCommand TURN_RIGHT
public static final ShipCommand STRAFE_LEFT
public static final ShipCommand STRAFE_RIGHT
public static final ShipCommand ACCELERATE
public static final ShipCommand ACCELERATE_BACKWARDS
public static final ShipCommand DECELERATE
public static final ShipCommand SELECT_GROUP
@Deprecated public static final ShipCommand USE_SELECTED_GROUP
public static final ShipCommand TOGGLE_AUTOFIRE
public static final ShipCommand FIRE
public static final ShipCommand VENT_FLUX
public static final ShipCommand TOGGLE_SHIELD_OR_PHASE_CLOAK
public static final ShipCommand HOLD_FIRE
public static final ShipCommand PULL_BACK_FIGHTERS
public static final ShipCommand USE_SYSTEM
public static ShipCommand[] values()
for (ShipCommand c : ShipCommand.values()) System.out.println(c);
public static ShipCommand 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.