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.Branch Class Reference
Inheritance diagram for BAD.Branch:
BAD.Node BAD.Decorator BAD.MutatingSelector BAD.Parallel BAD.Root BAD.Selector BAD.Sequence BAD.Chance BAD.Cooldown BAD.FlipFlop BAD.If BAD.Invert BAD.Loop BAD.Once BAD.TimeLimit BAD.UntilFailure BAD.UntilSuccess BAD.WaitFor BAD.WhileBoth BAD.RandomSelector

Public Member Functions

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 ()
 
virtual IEnumerator< NodeResultNodeTask ()
 
override string ToString ()
 

Public Attributes

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 ()
 

Member Function Documentation

override void BAD.Branch.Abort ( )
inlinevirtual

Reimplemented from BAD.Node.

virtual Branch BAD.Branch.Add ( Node  node)
inlinevirtual

Reimplemented in BAD.Decorator.

Member Data Documentation

List<Node> BAD.Branch.children = new List<Node> ()

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