Ticket #6 (closed task: fixed)
Make modules event based
|Reported by:||Anders Nissen <email@example.com>||Owned by:||zerny|
|Priority:||major||Milestone:||OEHack The Movie|
|Component:||Core||Keywords:||state system, event, listener, game engine, module|
This task is converting the game engine and module system to communicate purely by means of event. Instead of having the game engine maintaining collections of (tick dependent and tick independent) IModules, the game engine will maintain an event queue for initialization, deinitialization and processing. Each module has to be explicitly hooked to the engine by listening to the desired event queue(s).
Closely related to this is the state system, which in this approach is really just a hierarchical event interceptor. This is also part of this ticket.