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.RandomSelector Class Reference

A selector which randomly shuffles it's children before executing. More...

Inheritance diagram for BAD.RandomSelector:
BAD.Selector BAD.Branch BAD.Node

Public Member Functions

override IEnumerator< NodeResultNodeTask ()
 
- Public Member Functions inherited from BAD.Selector
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 ()
 

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.Node
virtual void ResolveArguments ()
 

Detailed Description

A selector which randomly shuffles it's children before executing.

Member Function Documentation

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

Reimplemented from BAD.Node.


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