Interface IBTNode
Inherited Members
Namespace: EyeAuras.BehaviorTree.Nodes
Assembly: EyeAuras.BehaviorTree.Metadata.dll
Syntax
public interface IBTNode : IBehaviorTreeSerializable, ICanSetName, IHasName, IHasId, IHasTypedId<string>, IHasErrors, IDisposable, INotifyPropertyChanged, IHasError, IHasErrorProvider
Properties
Name | Description |
---|---|
Blackboard | Contains a reference to behavior tree blackboard, which is shared amongst all tree nodes |
Children | The children nodes of the current node. |
ChildrenAsList | Enabled children nodes of the current node, ordered by position. |
IsBusy | |
IsEnabled | Indicates whether this node is disabled (considered for evaluation/execution) or not |
IsReady | IsReady means that Node is fully loaded - all children are ready, no proxies, etc |
LastTickDuration | |
LastTickTimestamp | |
MaxInputs | |
MaxOutputs | |
NodeId | |
Parent | Contains a reference to a parent, for the root element will be null |
Position | |
Root | Contains a reference to root node |
ShortDescription | |
Status | The execution status of the node. Default is empty. |
Methods
Name | Description |
---|---|
Remove() | Removes nodes from parent children collection. Still requires disposal if no longer needed |
Reset() | This abstract method allows nodes to reset their state to default (stop timers, clear counters, etc) |
ResetStatus() | Resets status of this node as well as all children nodes |
Tick(CancellationToken) | Executes the behavior of the node and updates its status. Never throws. |