Click or drag to resize
TaskNode Class
A tree node which provides a way to store a path through a behavior tree.
Inheritance Hierarchy
SystemObject
  Slash.AI.BehaviorTrees.TreeTaskNode

Namespace: Slash.AI.BehaviorTrees.Tree
Assembly: Slash.AI.BehaviorTrees (in Slash.AI.BehaviorTrees.dll) Version: 1.0.6018.40184
Syntax
public class TaskNode

The TaskNode type exposes the following members.

Constructors
  NameDescription
Public methodTaskNode
Initializes a new instance of the TaskNode class
Top
Properties
  NameDescription
Public propertyDepth
Depth inside tree.
Public propertyIndex
Index among siblings.
Public propertyNextSiblingTask
Returns the next sibling.
Public propertyParent
Parent node.
Public propertyParentTask
Returns the parent task.
Public propertyPreviousSiblingTask
Returns the previous sibling.
Public propertyTask
Task in this node.
Public propertyTreeId
Creates a tree id out of the depth and index of the node. For each level 4 bits are reserved, so there should be a maximum of 16 children. The maximum depth is 8 on 32bit and 16 on 64bit.
Top
Methods
See Also