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