BehaviorTree
Module: behavior3
A behavior tree.
Table of Contents
- Methods
- Properties
Constructor
BehaviorTree
()
Methods
tick
(
-
target
-
blackboard
Apply the behavior tree to an entity with a context blackboard.
Parameters:
-
target
The target object of the tick.
-
blackboard
BackbordThe blackboard too use as context.
Properties
id
Number
Unique ID of the BehaviorTree, this id is used when storing / retrieving data to the blackboard object.
root
BaseNode
The root node of the tree.