uBAD
A Behaviour and Decision library for Unity3D
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | Public Attributes | List of all members
BAD.Root Class Reference

The root node which must sit at the top of the tree. More...

Inheritance diagram for BAD.Root:
BAD.Branch BAD.Node

Public Member Functions

override IEnumerator< NodeResultNodeTask ()
 
- Public Member Functions inherited from BAD.Branch
virtual Branch Add (Node node)
 
override void Abort ()
 
- Public Member Functions inherited from BAD.Node
virtual void Apply (object[] arguments)
 
virtual T GetArg< T > (int index)
 
 Node ()
 
IEnumerator< NodeResultGetNodeTask ()
 
override string ToString ()
 

Public Attributes

bool debug = false
 
- Public Attributes inherited from BAD.Branch
List< Nodechildren = new List<Node> ()
 
- Public Attributes inherited from BAD.Node
BADReactor reactor
 
bool enabled = true
 
NodeResult state = null
 
bool running = false
 
Branch parent = null
 
object[] arguments
 

Additional Inherited Members

- Protected Member Functions inherited from BAD.Node
virtual void ResolveArguments ()
 

Detailed Description

The root node which must sit at the top of the tree.

Member Function Documentation

override IEnumerator<NodeResult> BAD.Root.NodeTask ( )
inlinevirtual

Reimplemented from BAD.Node.

Member Data Documentation

bool BAD.Root.debug = false

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