Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.StateMachineSystem.SMAction Interface Reference

State machine action interface. More...

Inheritance diagram for Dragengine.StateMachineSystem.SMAction:
Dragengine.StateMachineSystem.SMActionParameterTable Dragengine.StateMachineSystem.SMActionSendGlobalEvent Dragengine.StateMachineSystem.SMActionTrigger Dragengine.StateMachineSystem.SMBlockAction Dragengine.Utils.BTSMActionCondition Dragengine.Utils.BTSMCondition

Public Member Functions

void runAction (SMContext context, Dictionary parameters)
 Run action.

Detailed Description

State machine action interface.

Actions should not store any state since state machines can be reused across different game elements using different SMContext. Always store required state in SMContext.

Member Function Documentation

◆ runAction()

void Dragengine.StateMachineSystem.SMAction.runAction ( SMContext context,
Dictionary parameters )

Run action.

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.SMActionParameterTable, Dragengine.StateMachineSystem.SMActionSendGlobalEvent, Dragengine.StateMachineSystem.SMActionTrigger, and Dragengine.Utils.BTSMActionCondition.

References runAction().

Referenced by Dragengine.StateMachineSystem.SMBlockAction.new(), and runAction().


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