BTBreakNode is used to break execution of a behavior tree for improving performance and causing execution to pause and resume next frame. More...
Public Member Functions | |
| BTYieldNode (string nodeName) | |
| Constructor. | |
| override ActionResult | Start (Agent agent, float deltaTime) |
| Start Action handler. | |
| override ActionResult | Execute (Agent agent, float deltaTime) |
| Execution causes RUNNING to be returned for a single frame. | |
| override Action.Action.ActionResult | Stop (Agent agent, float deltaTime) |
| Stop Action handler. | |
Public Attributes | |
| const string | NODETYPE = "yield" |
| Node type, used in xml parsing. | |
BTBreakNode is used to break execution of a behavior tree for improving performance and causing execution to pause and resume next frame.
| RAIN.BehaviorTrees.BTYieldNode.BTYieldNode | ( | string | nodeName | ) |
Constructor.
| nodeName | The name of the node to create |
| override ActionResult RAIN.BehaviorTrees.BTYieldNode.Execute | ( | Agent | agent, |
| float | deltaTime | ||
| ) | [virtual] |
Execution causes RUNNING to be returned for a single frame.
| agent | AI Agent owner of the behavior tree |
| deltaTime | timestep in seconds |
Reimplemented from RAIN.Action.Action.
| override ActionResult RAIN.BehaviorTrees.BTYieldNode.Start | ( | Agent | agent, |
| float | deltaTime | ||
| ) | [virtual] |
Start Action handler.
| agent | AI Agent owner of the behavior tree |
| deltaTime | timestep in seconds |
Reimplemented from RAIN.Action.Action.
| override Action.Action.ActionResult RAIN.BehaviorTrees.BTYieldNode.Stop | ( | Agent | agent, |
| float | deltaTime | ||
| ) | [virtual] |
Stop Action handler.
| agent | AI Agent owner of the behavior tree |
| deltaTime | timestep in seconds |
Reimplemented from RAIN.Action.Action.
| const string RAIN.BehaviorTrees.BTYieldNode.NODETYPE = "yield" |
Node type, used in xml parsing.