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