![]() |
Lysa
0.0
Lysa 3D Engine
|
Synchronous global signal dispatcher.
Lua full name: lysa.SignalManager
Public Member Functions | |
| nil | unsubscribe (handler: integer) |
| Removes a signal handler. More... | |
| nil | fire (e: Signal) |
| Notifies all global subscribers before returning. More... | |
| integer | subscribe (type: string, cb: function) |
| Subscribes to a global event type. More... | |
|
Removes a signal handler.
| handler | integer |
|
Subscribes to a global event type.
| type | string |
| cb | function |