The Event system is a messaging system that was created in order to decouple systems and avoid cyclic dependencies as well. It also allows for controlling the amount of work to be passed into a single thread due to the fact that the Event System typically responds to a relevant event by passing a job to the job system.
Current Structure:
The core of event handling lies inside an event manager class which keeps track of the subscriptions for each event system and passes in the relevant messages to those event systems.
An event is typically a structure containing relevant information for the event system to make use of.
Each system requires its own event system to be able to receive and respond to incoming events.
Comments