This commit is contained in:
Leijurv 2018-08-14 15:32:16 -07:00
parent 92b3ac93d0
commit 9aefcebddf
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}