Class: TreeNode

TreeNode

TreeNode encapsulates a sub tree.

new TreeNode(node, tree)

Parameters:
Name Type Description
node BaseNode
tree BehaviorTree

Members


child :BaseNode

holds a reference to the subtree
Type:
  • BaseNode

Methods


close(tick, status)

Parameters:
Name Type Description
tick Tick
status TickStatus

createChildTick(tick)

create a new tick object that is relevant to the tree below this node
Parameters:
Name Type Description
tick Tick