Modifier and Type | Class and Description |
---|---|
static class |
Selector.Builder |
Modifier and Type | Method and Description |
---|---|
Behavior |
getNextBehavior() |
com.google.common.base.Function<List<Behavior>,Behavior> |
getSelectionFunction() |
void |
reset()
Resets the goal and any resources or state it is holding.
|
boolean |
retryChildren() |
BehaviorStatus |
run()
Ticks the behavior, optionally changing the state that it is in.
|
static Selector.Builder |
selecting(Behavior... behaviors) |
static Selector.Builder |
selecting(Collection<Behavior> behaviors) |
String |
toString() |
addBehavior, getBehaviors, removeBehavior, shouldExecute, stopExecution, tickParallel
create, run, shouldExecute
public Behavior getNextBehavior()
public com.google.common.base.Function<List<Behavior>,Behavior> getSelectionFunction()
public void reset()
Goal
public boolean retryChildren()
public BehaviorStatus run()
Behavior
public static Selector.Builder selecting(Behavior... behaviors)
public static Selector.Builder selecting(Collection<Behavior> behaviors)
Copyright © 2021. All rights reserved.