Abstract
This class is a Manager of events (listeners, observers, etc.)
AbstractEventsManager
EventType
Event object
Getter that allows to obtain the list of events
OSFramework.Event.AbstractEventsManager
This method is used to add assign a new callback to a given EventType
Method to check if a given EventType has a given handler
boolean
This method will check if a given EventType has assigned callbacks
Remove the given event type
This method will trigger the callback assigned to the given eventType
Optional
Protected
This method will be responsible for creating the correct instance of the Event based in the EventType that is passed.
Type of the event that will we need an instance of.
{IEvent} Instance of the event.
This class is a Manager of events (listeners, observers, etc.)
Export
AbstractEventsManager