This commit is contained in:
Leijurv committed 2018-08-14 15:32:16 -07:00
1 parent 92b3ac93d0
commit 9aefcebddf
1 file changed
+3 -1
@@ -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);
}