Result Enum

Summary

A trinary value: PlatformerGameKit.BehaviourTrees.Result.Pending, PlatformerGameKit.BehaviourTrees.Result.Pass, or PlatformerGameKit.BehaviourTrees.Result.Fail.
Assembly
PlatformerGameKit.dll
Namespace
PlatformerGameKit.BehaviourTrees
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["Result"] class Type type-node

Syntax

public enum Result

Remarks

Documentation: Behaviour Tree Brains - Core Concept

Fields

Name Constant Value Summary
Fail -1
Negative. The operation was unsuccessful.
static
Pass 1
Positive. The operation was completed successfully.
static
Pending 0
Neutral. Result is undetermined because execution has not completed.
static

Extension Methods

Name Value Summary
Invert() Result
Returns the opposite PlatformerGameKit.BehaviourTrees.Result to the `result`.