lab  2016-03-28
lightweight ai behaviour trees framework for Unity 3D
lab.AParameterNode< T > Class Template Reference

Abstract, generic, base class for parameter nodes. More...

Inherits lab.ANode.

Properties

string Key [get, set]
 Gets/Sets key of parameter in AiBlackboard. More...
 
Value [get, set]
 Gets/Sets static value to compare to global information in AiBlackboard. More...
 
bool DynamicValue [get, set]
 Gets/Sets a flag to compare to static or dynamic (another blackboard's value) parameter. More...
 
string DynamicValueKey [get, set]
 Gets/Sets key of parameter to compare to. More...
 

Additional Inherited Members

- Public Member Functions inherited from lab.ANode
abstract bool Run (AiBlackboard parameters, IList< AiTree > trees, List< ATaskScript > tasks)
 Runs this node. More...
 
abstract bool DebugRun (AiBlackboard parameters, IList< AiTree > trees, int level, int nodeIndex)
 Runs debug this node. More...
 

Detailed Description

Abstract, generic, base class for parameter nodes.

AParameterNode is a type of ANode that checks global information from AiBlackboard. It compares blackboard's values for two different ways. One way is to compare to static value provided to parameter node, another way is to compare to two different blackboard's values.

Property Documentation

bool lab.AParameterNode< T >.DynamicValue
getset

Gets/Sets a flag to compare to static or dynamic (another blackboard's value) parameter.

string lab.AParameterNode< T >.DynamicValueKey
getset

Gets/Sets key of parameter to compare to.

string lab.AParameterNode< T >.Key
getset

Gets/Sets key of parameter in AiBlackboard.

T lab.AParameterNode< T >.Value
getset

Gets/Sets static value to compare to global information in AiBlackboard.


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