ts-behavior-tree
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Behavior
Tree
Status
Action
Node
Behavior
Tree
Builder
Inverter
Node
constructor
child
Node
name
Add
Child
Tick
Parallel
Node
Selector
Node
Sequence
Node
Time
Data
IBehavior
Tree
Node
IParent
Behavior
Tree
Node
Err
Inv
Node
More
Than
One
Child
Err
Inv
Node
Must
Have
Child
Err
Unnested
Tree
Err
Zero
Nodes
Error
Splice
Unnested
Hierarchy
InverterNode
Implements
IParentBehaviorTreeNode
Index
Constructors
constructor
Properties
child
Node
name
Methods
Add
Child
Tick
Constructors
constructor
new
Inverter
Node
(
name
:
string
)
:
InverterNode
Parameters
name:
string
Returns
InverterNode
Properties
Private
child
Node
child
Node
:
IBehaviorTreeNode
|
undefined
Private
name
name
:
string
Methods
Add
Child
Add
Child
(
child
:
IBehaviorTreeNode
)
:
void
Add a child to the parent node.
Parameters
child:
IBehaviorTreeNode
Child needs to be added.
Returns
void
Tick
Tick
(
time
:
TimeData
)
:
BehaviorTreeStatus
Parameters
time:
TimeData
Returns
BehaviorTreeStatus
Generated using
TypeDoc
Add a child to the parent node.