public static enum Shooter.FlywheelMode extends java.lang.Enum<Shooter.FlywheelMode>
Enum Constant and Description |
---|
SHOOT |
SPEEDING_UP |
STOP |
Modifier and Type | Method and Description |
---|---|
static Shooter.FlywheelMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Shooter.FlywheelMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Shooter.FlywheelMode SHOOT
public static final Shooter.FlywheelMode SPEEDING_UP
public static final Shooter.FlywheelMode STOP
public static Shooter.FlywheelMode[] values()
for (Shooter.FlywheelMode c : Shooter.FlywheelMode.values()) System.out.println(c);
public static Shooter.FlywheelMode 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