Arbor 3: FSM & BT Graph Editor  3.7.8
INodeBehaviourContainer Interface Reference

Interface to use if Node is a NodeBehaviour container More...

Inheritance diagram for INodeBehaviourContainer:
TreeBehaviourNode CalculatorNode State ActionNode CompositeNode

Public Member Functions

int GetNodeBehaviourCount ()
 Get count of NodeBehaviour. More...
 
GetNodeBehaviour< T > (int index)
 Get NodeBehaviour More...
 
void SetNodeBehaviour (int index, NodeBehaviour behaviour)
 Set NodeBehaviour More...
 

Detailed Description

Interface to use if Node is a NodeBehaviour container

Member Function Documentation

◆ GetNodeBehaviour< T >()

T GetNodeBehaviour< T > ( int  index)

Get NodeBehaviour

Template Parameters
TNodeBehaviour type
Parameters
indexIndex
Returns
NodeBehaviour
Type Constraints
T :Object 

◆ GetNodeBehaviourCount()

int GetNodeBehaviourCount ( )

Get count of NodeBehaviour.

Returns
Count of NodeBehaviour

◆ SetNodeBehaviour()

void SetNodeBehaviour ( int  index,
NodeBehaviour  behaviour 
)

Set NodeBehaviour

Parameters
indexIndex
behaviourNodeBehaviour

Since destruction of the NodeBehavior which was originally in the specified index is not guaranteed, refer to each node for addition and deletion.