uBAD
A Behaviour and Decision library for Unity3D
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
BAD.Node Class Reference
Inheritance diagram for BAD.Node:
BAD.Branch BAD.Leaf BAD.Decorator BAD.MutatingSelector BAD.Parallel BAD.Root BAD.Selector BAD.Sequence BAD.Action BAD.BB BAD.Condition BAD.Log BAD.Sleep

Public Member Functions

virtual void Apply (object[] arguments)
 
virtual T GetArg< T > (int index)
 
 Node ()
 
IEnumerator< NodeResultGetNodeTask ()
 
virtual IEnumerator< NodeResultNodeTask ()
 
virtual void Abort ()
 
override string ToString ()
 

Public Attributes

BADReactor reactor
 
bool enabled = true
 
NodeResult state = null
 
bool running = false
 
Branch parent = null
 
object[] arguments
 

Protected Member Functions

virtual void ResolveArguments ()
 

Constructor & Destructor Documentation

BAD.Node.Node ( )
inline

Member Function Documentation

virtual void BAD.Node.Abort ( )
inlinevirtual

Reimplemented in BAD.Branch.

virtual void BAD.Node.Apply ( object[]  arguments)
inlinevirtual
virtual T BAD.Node.GetArg< T > ( int  index)
inlinevirtual
IEnumerator<NodeResult> BAD.Node.GetNodeTask ( )
inline
virtual IEnumerator<NodeResult> BAD.Node.NodeTask ( )
inlinevirtual
virtual void BAD.Node.ResolveArguments ( )
inlineprotectedvirtual
override string BAD.Node.ToString ( )
inline

Member Data Documentation

object [] BAD.Node.arguments
bool BAD.Node.enabled = true
Branch BAD.Node.parent = null
BADReactor BAD.Node.reactor
bool BAD.Node.running = false
NodeResult BAD.Node.state = null

The documentation for this class was generated from the following file: