Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Node that can perform some action.

Namespace: Visual3D.Scripting.Behaviors.BehaviorTrees
Assembly: Visual3D.Scripting (in Visual3D.Scripting.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public class DelegateAction : Node
Public Class DelegateAction _
	Inherits Node

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
DelegateAction()()()()
Initializes a new instance of the DelegateAction class
DelegateAction(ActionDelegate)
Initializes a new instance of the DelegateAction class
Activate()()()()
(Inherited from Node.)
Deactivate()()()()
(Inherited from Node.)
Depth
(Inherited from CTreeNode<(Of <(<'T>)>)>.)
Detach()()()()
Detaches this node from it's parent. Postcondition: this is a root node.
(Inherited from CTreeNode<(Of <(<'T>)>)>.)
Execute()()()()
(Inherited from Node.)
Find(Predicate<(Of <<'(T>)>>))
(Inherited from CTreeNode<(Of <(<'T>)>)>.)
GetEnumerator()()()()
(Inherited from CTreeNode<(Of <(<'T>)>)>.)
HasChildren
returns true if the node has child nodes. See also Implementation Note under this.Childs
(Inherited from CTreeNode<(Of <(<'T>)>)>.)
ImageListIndex (Inherited from Node.)
IsActive
(Inherited from Node.)
IsAncestorOf(T)
(Inherited from CTreeNode<(Of <(<'T>)>)>.)
IsChildOf(T)
(Inherited from CTreeNode<(Of <(<'T>)>)>.)
IsRoot
returns true if this node is a root node. (Equivalent to this.Parent==null)
(Inherited from CTreeNode<(Of <(<'T>)>)>.)
NodeName (Inherited from Node.)
NodeParameters (Inherited from Node.)
Nodes
Returns all child nodes as a NodeList.

Implementation note: Childs always returns a non-null collection. This collection is created on demand at the first access. To avoid unnecessary creation of the collection, use HasChilds to check if the node has any child nodes

(Inherited from CTreeNode<(Of <(<'T>)>)>.)
NodeType (Inherited from Node.)
Notify(Object, Object)
(Inherited from Node.)
Owner
(Inherited from Node.)
OwnerEntity
(Inherited from Node.)
Parent
returns the parent node, or null if this is a root node
(Inherited from CTreeNode<(Of <(<'T>)>)>.)
Remove()()()()
Removes the current node and all child nodes recursively from it's parent. Throws an InvalidOperationException if this is a root node.
(Inherited from CTreeNode<(Of <(<'T>)>)>.)
Root
The Root object this Node belongs to. never null
(Inherited from CTreeNode<(Of <(<'T>)>)>.)
ScriptedContext
(Inherited from Node.)
Siblings (Inherited from CTreeNode<(Of <(<'T>)>)>.)
ToString()()()()
(Inherited from Node.)

Inheritance Hierarchy

System..::..Object
  Visual3D.Scripting.Collections..::..CTreeNode<(Of <(<'Node>)>)>
    Visual3D.Scripting.Behaviors.BehaviorTrees..::..Node
      Visual3D.Scripting.Behaviors.BehaviorTrees..::..DelegateAction

See Also