api
This commit is contained in:
parent
92b3ac93d0
commit
9aefcebddf
@ -135,10 +135,12 @@ public class PathingBehavior extends Behavior {
|
||||
this.goal = goal;
|
||||
}
|
||||
|
||||
public PathExecutor getExecutor() {
|
||||
public PathExecutor getCurrent() {
|
||||
return current;
|
||||
}
|
||||
|
||||
public PathExecutor getNext() {return next;}
|
||||
|
||||
public Optional<IPath> getPath() {
|
||||
return Optional.ofNullable(current).map(PathExecutor::getPath);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user