CompositeNode

Class in Arbor.BehaviourTree / Inherits from: TreeBehaviourNode

Description

This node controls the execution of child nodes.

Fields

Field Name Description
childrenLink Link to child nodes.
name Node name.
parentLink Link to parent node

Methods

Method Name Description
CreateCompositeBehaviour Create a CompositeBehaviour. Use it in the editor.
GetName Get node name.
GetParentLinkSlot Get NodeLinkSlot to parent.
HasChildLinkSlot Whether this node has a NodeLinkSlot to child.
HasParentLinkSlot Whether this node has a NodeLinkSlot to parent.
OnExecute Called when executing.

Inherited Members

Fields

Field Name Description
nodeComment Comment
position Position on the Arbor Editor.
showComment Whether to display comments

Properties

Property Name Description
behaviour Main behaviour
behaviourTree Gets the behaviour tree.
breakPoint Break point. When this property is true, the editor will be paused when the node becomes active.
decoratorList Decorator list
enablePriority Returns true if it is traced from the root node and connected.
isActive Returns true if it is active.
nodeGraph Gets the NodeGraph.
nodeID Gets the node identifier.
parentNode Get parent node.
priority The priority of the node.
serviceList Service list
status The state of the node.

Methods

Method Name Description
AddDecorator Adds the Decorator.
AddService Adds the Service.
DestroyAllBehaviour Destroy all behaviour.
DestroyBehaviour Destroy behaviour.
GetBehaviourObject Get Main Behaviour Object.
InsertDecorator Insert the Decorator.
InsertService Insert the Service.
IsContainsBehaviour Check if it contains NodeBehaviour.
IsDeletable Returns whether or not it can be deleted.
MoveDecorator Move the order of Decorator.
MoveService Move the order of Service.
OnGraphChanged Called when the NodeGraph to which the Node belongs has changed.
SetBehaviour Set Main Behaviour.
ToString Convert node to string (for debugging).