Radium Engine
1.5.20
|
Events could be identified by a name (string) and a unique ID
When registering a new plugin, a function could be called by the engine to register new events, associating event names and ID and giving back IDs to the plugin.
Any plugin could also ask the engine the ID of other plugins events, to subscribe to.
When an event occurs, the sender adds it to engine's event queue, with associated data (any ftw !). Then at each frame, events could be handled this way :