BTRepeater is a BTDecoratorNode used to cause another node to repeat until some return state is achieved. More...
Public Member Functions | |
| BTRepeater (BTNode child) | |
| Constructor. | |
| override ActionResult | Start (Agent agent, float deltaTime) |
| Action.Start passthrough. | |
| override ActionResult | Execute (Agent agent, float deltaTime) |
| Action.Execute passthrough. | |
| override ActionResult | Stop (Agent agent, float deltaTime) |
| Action.Stop passthrough. | |
Public Attributes | |
| const string | NODETYPE = "repeater" |
| Node type, used in xml parsing. | |
| ActionResult | repeatUntilState = ActionResult.FAILURE |
| The ActionResult we are repeating until we receive. | |
BTRepeater is a BTDecoratorNode used to cause another node to repeat until some return state is achieved.
| RAIN.BehaviorTrees.BTRepeater.BTRepeater | ( | BTNode | child | ) |
Constructor.
| nodeName | The name of the node to create |
| override ActionResult RAIN.BehaviorTrees.BTRepeater.Execute | ( | Agent | agent, |
| float | deltaTime | ||
| ) | [virtual] |
Action.Execute passthrough.
| agent | AI Agent owner of the behavior tree |
| deltaTime | timestep in seconds |
Reimplemented from RAIN.Action.Action.
| override ActionResult RAIN.BehaviorTrees.BTRepeater.Start | ( | Agent | agent, |
| float | deltaTime | ||
| ) | [virtual] |
Action.Start passthrough.
| agent | AI Agent owner of the behavior tree |
| deltaTime | timestep in seconds |
Reimplemented from RAIN.Action.Action.
| override ActionResult RAIN.BehaviorTrees.BTRepeater.Stop | ( | Agent | agent, |
| float | deltaTime | ||
| ) | [virtual] |
Action.Stop passthrough.
| agent | AI Agent owner of the behavior tree |
| deltaTime | timestep in seconds |
Reimplemented from RAIN.Action.Action.
| const string RAIN.BehaviorTrees.BTRepeater.NODETYPE = "repeater" |
Node type, used in xml parsing.
| ActionResult RAIN.BehaviorTrees.BTRepeater.repeatUntilState = ActionResult.FAILURE |
The ActionResult we are repeating until we receive.