Serializable
, Comparable<GoalType>
public enum GoalType extends Enum<GoalType>
Enum Constant | Description |
---|---|
JUMP |
|
LOOK |
|
MOVE |
|
TARGET |
|
UNKNOWN_BEHAVIOR |
Used to map vanilla goals, that are a behavior goal but don't have a type set...
|
Modifier and Type | Method | Description |
---|---|---|
static GoalType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static GoalType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GoalType MOVE
public static final GoalType LOOK
public static final GoalType JUMP
public static final GoalType TARGET
public static final GoalType UNKNOWN_BEHAVIOR
public static GoalType[] values()
for (GoalType c : GoalType.values()) System.out.println(c);
public static GoalType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.