Drag[en]gine Script Module DragonScript
1.23
|
Behavior tree condition using block. More...
Public Member Functions | |
BTBlockCondition | new (Block ablock) |
Create condition. More... | |
Public Member Functions inherited from Dragengine.BehaviorTreeSystem.BTCondition | |
bool | evaluateCondition (BTContext context, Dictionary parameters) |
Evaluate condition. More... | |
Public Attributes | |
Block | pBlock |
Behavior tree condition using block.
Provides support to add tiny conditions often just calling a BTContext method without needing to implement a full class. The used block has to take one parameter of type BTContext context and Dictionary and parameters and has to return an boolean value. Do not change the content of the dictionary as it is shared.
BTBlockCondition Dragengine.BehaviorTreeSystem.BTBlockCondition.new | ( | Block | ablock | ) |
Create condition.
Block Dragengine.BehaviorTreeSystem.BTBlockCondition.pBlock |