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:
-
tree
BehaviorTreeThe behavior tree.
-
target
Target object of the tick.
-
blackboard
BlackboardThe associated blackboard.
Methods
closeNode
()
Close the first node.
enterNode
(
-
node
Push the node to opened nodes.
Parameters:
-
node
BaseNodeThe 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.