Drag[en]gine Script Module DragonScript
1.23
|
State machine action interface. More...
Public Member Functions | |
void | runAction (SMContext context, Dictionary parameters) |
Run action. More... | |
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.
void Dragengine.StateMachineSystem.SMAction.runAction | ( | SMContext | context, |
Dictionary | parameters | ||
) |
Run action.
parameters | Dictionary 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.SMActionTrigger, Dragengine.StateMachineSystem.SMActionSendGlobalEvent, and Dragengine.StateMachineSystem.SMActionParameterTable.