public class ForwardingBehaviorGoalAdapter extends BehaviorGoalAdapter
Behavior
.Constructor and Description |
---|
ForwardingBehaviorGoalAdapter(Behavior behavior) |
Modifier and Type | Method and Description |
---|---|
Behavior |
getWrapped() |
void |
reset()
Resets the goal and any resources or state it is holding.
|
BehaviorStatus |
run()
Ticks the behavior, optionally changing the state that it is in.
|
boolean |
shouldExecute() |
String |
toString() |
create, run, shouldExecute
public ForwardingBehaviorGoalAdapter(Behavior behavior)
public Behavior getWrapped()
public void reset()
Goal
public BehaviorStatus run()
Behavior
public boolean shouldExecute()
Copyright © 2021. All rights reserved.