Interface IBehaviorTree
Represents a behavior tree that can execute hierarchical behaviors in a systematic way. Implements core tree functionality while integrating with the EyeAuras item system.
Inherited Members
Namespace: EyeAuras.Shared
Assembly: EyeAuras.Shared.dll
Syntax
public interface IBehaviorTree : IEyeItem, IEyeContext, IAuraContainer, IEntityContainer, ICanSetPath, IHasPath, IHasName, ICanBeSelected, IHasSelected, IHasTimestamp, IAuraObject, IHasId, IHasTypedId<string>, IBindableReactiveObject, ICanSetContext, IHasContext, IHasErrors, IHasError, IHasErrorProvider, IHasVariables, ICanSetVariables, IEnablementController, IDisposable, INotifyPropertyChanged, ICanBeLoaded, IHasLoaded
Remarks
A behavior tree is a hierarchical structure of nodes that defines complex behaviors through composition of simpler tasks. Each tick of the tree evaluates the current state and updates node statuses accordingly.
Properties
Name | Description |
---|---|
BehaviorTreeRoot | Gets the root node of the behavior tree. The root node serves as the entry point for tree traversal and execution. |
Methods
Name | Description |
---|---|
Tick(CancellationToken) | Executes one tick of the behavior tree, updating the state of all relevant nodes. |