public abstract class BehaviorGoalAdapter extends Object implements Goal, Behavior
Constructor and Description |
---|
BehaviorGoalAdapter() |
Modifier and Type | Method and Description |
---|---|
static Goal |
create(Behavior behavior) |
void |
run(GoalSelector selector)
Updates the goal.
|
boolean |
shouldExecute(GoalSelector selector)
Returns whether the goal is ready to start.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
reset, run, shouldExecute
public void run(GoalSelector selector)
Goal
public boolean shouldExecute(GoalSelector selector)
Goal
shouldExecute
in interface Goal
selector
- The selector to use during executionCopyright © 2021. All rights reserved.