uBAD
A Behaviour and Decision library for Unity3D
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | Protected Member Functions | List of all members
BAD.Decorator Class Reference
Inheritance diagram for BAD.Decorator:
BAD.Branch BAD.Node BAD.Chance BAD.Cooldown BAD.FlipFlop BAD.If BAD.Invert BAD.Loop BAD.Once BAD.TimeLimit BAD.UntilFailure BAD.UntilSuccess BAD.WaitFor BAD.WhileBoth

Public Member Functions

override Branch Add (Node child)
 
- Public Member Functions inherited from BAD.Branch
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 ()
 

Protected Member Functions

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

Additional Inherited Members

- 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
 

Member Function Documentation

override Branch BAD.Decorator.Add ( Node  child)
inlinevirtual

Reimplemented from BAD.Branch.

bool BAD.Decorator.ChildIsMissing ( )
inlineprotected

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