BehaviourTreeUtilities Class

Summary

Utility methods for PlatformerGameKit.BehaviourTrees.
Assembly
PlatformerGameKit.dll
Namespace
PlatformerGameKit.BehaviourTrees
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["BehaviourTreeUtilities"] class Type type-node

Syntax

public static class BehaviourTreeUtilities

Methods

Name Value Summary
GetChildren(IBehaviourNode) List<IBehaviourNode>
Returns a list containing the `node` and all of its children (recursively).
static
GetChildren(IBehaviourNode, List<IBehaviourNode>) void
Adds the `node` and all of its children to the `list` (recursively).
static
Invert(Result) Result
Returns the opposite PlatformerGameKit.BehaviourTrees.Result to the `result`.
static
ToResult(bool) Result
Returns a PlatformerGameKit.BehaviourTrees.Result representing the `value`.
static