GroupNode Class

Summary

An PlatformerGameKit.BehaviourTrees.IBehaviourNode which calls PlatformerGameKit.BehaviourTrees.IBehaviourNode.Execute on an array of PlatformerGameKit.BehaviourTrees.GroupNode.Children.
Assembly
PlatformerGameKit.dll
Namespace
PlatformerGameKit.BehaviourTrees
Interfaces
Base Types
  • Object
Derived Types
graph BT Type-->Base0["Object"] Type-.->Interface0["IBehaviourNode"] click Interface0 "/platformer/api/PlatformerGameKit.BehaviourTrees/IBehaviourNode" Type-.->Interface1["IPolymorphic"] Type-.->Interface2["IPolymorphicReset"] Type["GroupNode"] class Type type-node Derived0["Selector"]-->Type click Derived0 "/platformer/api/PlatformerGameKit.BehaviourTrees/Selector" Derived1["Sequence"]-->Type click Derived1 "/platformer/api/PlatformerGameKit.BehaviourTrees/Sequence"

Syntax

[Serializable]
public abstract class GroupNode : IBehaviourNode, IPolymorphic, IPolymorphicReset

Remarks

Documentation: Behaviour Tree Brains - Groups

Attributes

Type Description
SerializableAttribute

Properties

Name Value Summary
ChildCount int
The number of children this node has.
Children IBehaviourNode[]
The other nodes on which PlatformerGameKit.BehaviourTrees.IBehaviourNode.Execute is called to determine the PlatformerGameKit.BehaviourTrees.Result of this node.

Methods

Name Value Summary
Execute() Result
Runs this node's main logic.
GetChild(int) IBehaviourNode
Gets the child node at the specified `index`.