Drag[en]gine Script Module DragonScript  1.21
Dragengine.StateMachineSystem.SMCondition Interface Reference

State machine condition interface. More...

Inheritance diagram for Dragengine.StateMachineSystem.SMCondition:
Dragengine.StateMachineSystem.SMBlockCondition Dragengine.StateMachineSystem.SMConditionCombine Dragengine.StateMachineSystem.SMConditionParameterTableBool Dragengine.StateMachineSystem.SMConditionParameterTableFloat Dragengine.StateMachineSystem.SMConditionParameterTableInt Dragengine.StateMachineSystem.SMConditionTrigger

Public Member Functions

bool evaluateCondition (SMContext context, Dictionary parameters)
 Evaluate condition. More...
 

Detailed Description

State machine condition interface.

Conditions are used to choose which transition to run if multiple match the same event.

Member Function Documentation

◆ evaluateCondition()

bool Dragengine.StateMachineSystem.SMCondition.evaluateCondition ( SMContext  context,
Dictionary  parameters 
)

Evaluate condition.

Parameters
parametersDictionary with parameters of type String key and String value. Do not change the content of the dictionary as it is shared.

Implemented in Dragengine.StateMachineSystem.SMConditionTrigger, Dragengine.StateMachineSystem.SMConditionParameterTableInt, Dragengine.StateMachineSystem.SMConditionParameterTableFloat, Dragengine.StateMachineSystem.SMConditionParameterTableBool, and Dragengine.StateMachineSystem.SMConditionCombine.


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