|
Drag[en]gine Script Module DragonScript 1.32.1
|
State machine action sending a global event. More...
Public Member Functions | |
| Object | getData () |
| Optional parameter to send with event. | |
| String | getEvent () |
| Event to send. | |
| GlobalEvents | getGlobalEvents () |
| Global event instance to send event to. | |
| Object | getSource () |
| Optional source of event. | |
| SMActionSendGlobalEvent | new (GlobalEvents globalEvents, String event) |
| Create action. | |
| SMActionSendGlobalEvent | new (GlobalEvents globalEvents, String event, Object source, Object data) |
| Create action. | |
| SMActionSendGlobalEvent | new (String event) |
| Create action using BaseGameApp global events. | |
| SMActionSendGlobalEvent | new (String event, Object source, Object data) |
| Create action using BaseGameApp global events. | |
| void | runAction (SMContext context, Dictionary parameters) |
| Run action. | |
| void | setData (Object data) |
| Set optional parameter to send with event. | |
| void | setEvent (String event) |
| Set event to send. | |
| void | setGlobalEvents (GlobalEvents globalEvents) |
| Set global event instance to send event to. | |
| void | setSource (Object source) |
| Set optional source of event. | |
State machine action sending a global event.
| Object Dragengine.StateMachineSystem.SMActionSendGlobalEvent.getData | ( | ) |
Optional parameter to send with event.
| String Dragengine.StateMachineSystem.SMActionSendGlobalEvent.getEvent | ( | ) |
Event to send.
| GlobalEvents Dragengine.StateMachineSystem.SMActionSendGlobalEvent.getGlobalEvents | ( | ) |
Global event instance to send event to.
| Object Dragengine.StateMachineSystem.SMActionSendGlobalEvent.getSource | ( | ) |
Optional source of event.
| SMActionSendGlobalEvent Dragengine.StateMachineSystem.SMActionSendGlobalEvent.new | ( | GlobalEvents | globalEvents, |
| String | event | ||
| ) |
Create action.
| SMActionSendGlobalEvent Dragengine.StateMachineSystem.SMActionSendGlobalEvent.new | ( | GlobalEvents | globalEvents, |
| String | event, | ||
| Object | source, | ||
| Object | data | ||
| ) |
Create action.
| SMActionSendGlobalEvent Dragengine.StateMachineSystem.SMActionSendGlobalEvent.new | ( | String | event | ) |
Create action using BaseGameApp global events.
| SMActionSendGlobalEvent Dragengine.StateMachineSystem.SMActionSendGlobalEvent.new | ( | String | event, |
| Object | source, | ||
| Object | data | ||
| ) |
Create action using BaseGameApp global events.
| void Dragengine.StateMachineSystem.SMActionSendGlobalEvent.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. |
Implements Dragengine.StateMachineSystem.SMAction.
| void Dragengine.StateMachineSystem.SMActionSendGlobalEvent.setData | ( | Object | data | ) |
Set optional parameter to send with event.
| void Dragengine.StateMachineSystem.SMActionSendGlobalEvent.setEvent | ( | String | event | ) |
Set event to send.
| void Dragengine.StateMachineSystem.SMActionSendGlobalEvent.setGlobalEvents | ( | GlobalEvents | globalEvents | ) |
Set global event instance to send event to.
| void Dragengine.StateMachineSystem.SMActionSendGlobalEvent.setSource | ( | Object | source | ) |
Set optional source of event.