Tick
Module: behavior3
Represent a tick (update) which holds context for the tree traversal.
Table of Contents
- Methods
- Properties
Constructor
Tick
(
-
tree -
target -
blackboard
Parameters:
-
treeBehaviorTreeThe behavior tree.
-
targetTarget object of the tick.
-
blackboardBlackboardThe associated blackboard.
Methods
closeNode
()
Close the first node.
enterNode
(
-
node
Push the node to opened nodes.
Parameters:
-
nodeBaseNodeThe node to open.
Properties
blackboard
Blackboard
The blackboard context of the tick.
nodeCount
Number
Count the opened nodes.
openNodes
Array
Store currentl opened nodes.
target
The target object of the tick.