BTSequencerNode executes a series of nodes. The child list order is assumed to be prioritized, so that children can be executed in order. More...
Public Member Functions | |
BTSequencerNode (string nodeName) | |
Constructor. | |
override void | GetActiveNodes (List< BTNode > nodeList) |
override Action.Action.ActionResult | Start (Agent agent, float deltaTime) |
Start Action handler. | |
override ActionResult | Execute (Agent agent, float deltaTime) |
Execute causes child nodes to be executed in turn. If any child returns FAILURE, this node returns FAILURE and stops executing. | |
override ActionResult | Stop (Agent agent, float deltaTime) |
Stop Action handler. | |
Public Attributes | |
const string | NODETYPE = "sequencer" |
Node type, used in xml parsing. | |
Properties | |
override bool | IsContainer [get] |
BTSequencerNode executes a series of nodes. The child list order is assumed to be prioritized, so that children can be executed in order.
RAIN.BehaviorTrees.BTSequencerNode.BTSequencerNode | ( | string | nodeName | ) |
Constructor.
nodeName | The name of the node to create |
override ActionResult RAIN.BehaviorTrees.BTSequencerNode.Execute | ( | Agent | agent, |
float | deltaTime | ||
) | [virtual] |
Execute causes child nodes to be executed in turn. If any child returns FAILURE, this node returns FAILURE and stops executing.
agent | AI Agent owner of the behavior tree |
deltaTime | timestep in seconds |
Reimplemented from RAIN.Action.Action.
override Action.Action.ActionResult RAIN.BehaviorTrees.BTSequencerNode.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 ActionResult RAIN.BehaviorTrees.BTSequencerNode.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.BTSequencerNode.NODETYPE = "sequencer" |
Node type, used in xml parsing.