Drag[en]gine Script Module DragonScript
1.23
|
State machine condition using block. More...
Public Member Functions | |
SMBlockCondition | new (Block ablock) |
Create condition. More... | |
Public Member Functions inherited from Dragengine.StateMachineSystem.SMCondition | |
bool | evaluateCondition (SMContext context, Dictionary parameters) |
Evaluate condition. More... | |
State machine condition using block.
Provides support to add tiny conditions often just calling a SMContext method without needing to implement a full class. The used block has to take one parameter of type SMContext context and Dictionary and parameters. Do not change the content of the dictionary as it is shared.
SMBlockCondition Dragengine.StateMachineSystem.SMBlockCondition.new | ( | Block | ablock | ) |
Create condition.