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

Executes its child while condition is true and the child has not failed. More...

Inheritance diagram for BAD.WhileBoth:
BAD.Decorator BAD.Branch BAD.Node

Public Member Functions

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

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
 
- Protected Member Functions inherited from BAD.Decorator
bool ChildIsMissing ()
 
- Protected Member Functions inherited from BAD.Node
virtual void ResolveArguments ()
 

Detailed Description

Executes its child while condition is true and the child has not failed.

Member Function Documentation

override void BAD.WhileBoth.Apply ( object[]  args)
inlinevirtual

Reimplemented from BAD.Node.

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

Reimplemented from BAD.Node.

override string BAD.WhileBoth.ToString ( )
inline

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