public enum TutorialSteps extends java.lang.Enum<TutorialSteps>
Enum Constant and Description |
---|
CRAFT_PLANKS |
FIND_TREE |
MOVEMENT |
NONE |
OPEN_INVENTORY |
PUNCH_TREE |
Modifier and Type | Method and Description |
---|---|
ITutorialStep |
create(Tutorial tutorial) |
java.lang.String |
getName() |
static TutorialSteps |
getTutorial(java.lang.String tutorialName) |
static TutorialSteps |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TutorialSteps[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TutorialSteps MOVEMENT
public static final TutorialSteps FIND_TREE
public static final TutorialSteps PUNCH_TREE
public static final TutorialSteps OPEN_INVENTORY
public static final TutorialSteps CRAFT_PLANKS
public static final TutorialSteps NONE
public static TutorialSteps[] values()
for (TutorialSteps c : TutorialSteps.values()) System.out.println(c);
public static TutorialSteps 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 nullpublic ITutorialStep create(Tutorial tutorial)
public java.lang.String getName()
public static TutorialSteps getTutorial(java.lang.String tutorialName)