Class ProxyNode
Inheritance
Implements
Inherited Members
Namespace: EyeAuras.BehaviorTree.Nodes
Assembly: EyeAuras.BehaviorTree.dll
Syntax
public sealed class ProxyNode : ProxyAuraModel, IProxyAuraModel, INode, IAuraObject, IBindableReactiveObject, ICanSetContext, IHasContext, IBTNode, IHasId, IHasTypedId<string>, IHasErrors, IDisposable, INotifyPropertyChanged, IHasError, IHasErrorProvider, IBehaviorTreeSerializable, ICanSetName, IHasName
Constructors
Name | Description |
---|---|
ProxyNode(IAuraRepository) |
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 | |
Name | Name of an item(could be filename), usually un-localized and could be used in lookups |
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 |
---|---|
AddChild<TNode>(IBTNodeProperties) | Creates new child given properties. Type of node is determined by provided properties |
Clone() | Clones properties of this node and its children |
LoadProperties(IAuraProperties) | |
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. |