public enum PathingCommandType extends java.lang.Enum<PathingCommandType>
| Enum Constant and Description |
|---|
CANCEL_AND_SET_GOAL
Set the goal (regardless of
null), and request a cancel of the current path (when safe) |
DEFER
Go and ask the next process what to do
|
FORCE_REVALIDATE_GOAL_AND_PATH
Set the goal and path.
|
REQUEST_PAUSE
Has no effect on the current goal or path, just requests a pause
|
REVALIDATE_GOAL_AND_PATH
Set the goal and path.
|
SET_GOAL_AND_PATH
Set the goal and path.
|
| Modifier and Type | Method and Description |
|---|---|
static PathingCommandType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PathingCommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathingCommandType SET_GOAL_AND_PATH
If you use this alongside a null goal, it will continue along its current path and current goal.
public static final PathingCommandType REQUEST_PAUSE
public static final PathingCommandType CANCEL_AND_SET_GOAL
null), and request a cancel of the current path (when safe)public static final PathingCommandType REVALIDATE_GOAL_AND_PATH
If Settings.cancelOnGoalInvalidation is true, revalidate the
current goal, and cancel if it's no longer valid, or if the new goal is null.
public static final PathingCommandType FORCE_REVALIDATE_GOAL_AND_PATH
Cancel the current path if the goals are not equal
public static final PathingCommandType DEFER
public static PathingCommandType[] values()
for (PathingCommandType c : PathingCommandType.values()) System.out.println(c);
public static PathingCommandType 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