public class PathingCommand extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
PathingCommandType |
commandType
The command type.
|
Goal |
goal
The target goal, may be
null . |
Constructor and Description |
---|
PathingCommand(Goal goal,
PathingCommandType commandType)
Create a new
PathingCommand . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public final PathingCommandType commandType
PathingCommandType
public PathingCommand(Goal goal, PathingCommandType commandType)
PathingCommand
.goal
- The target goal, may be null
.commandType
- The command type, cannot be null
.java.lang.NullPointerException
- if commandType
is null
.Goal
,
PathingCommandType
public java.lang.String toString()
toString
in class java.lang.Object