public enum TutorialState extends java.lang.Enum<TutorialState>
Enum Constant and Description |
---|
CRABEATLITTER
The crab should move towards a Litter
|
DAMAGEPLANT
The game should damage a plant
|
SIGNALPLANT
The player should go plant a Plant
|
SIGNALRECYCLABLE
The player should go pick up a Recyclable object
|
SIGNALRECYCLINGBIN
The player should deposit into the Recycle bin
|
SIGNALTRASH
The player should go pick up a Trash object
|
SIGNALTRASHCAN
The player should deposit into the trash can
|
SPAWNRECYCLABLE
The game should spawn a Recyclable object.
|
SPAWNTRASH
The game should spawn a Trash object
|
Modifier and Type | Method and Description |
---|---|
static TutorialState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TutorialState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TutorialState SPAWNTRASH
public static final TutorialState SIGNALTRASH
public static final TutorialState SIGNALTRASHCAN
public static final TutorialState SPAWNRECYCLABLE
public static final TutorialState SIGNALRECYCLABLE
public static final TutorialState SIGNALRECYCLINGBIN
public static final TutorialState DAMAGEPLANT
public static final TutorialState SIGNALPLANT
public static final TutorialState CRABEATLITTER
public static TutorialState[] values()
for (TutorialState c : TutorialState.values()) System.out.println(c);
public static TutorialState 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