The procgame.events submodule contains general purpose classes for passing events around.
Describes an event dispatched by EventManager.
Any information associated with the event.
Name of the event.
Object this event is associated with.
Dispatches events to event handlers. Until better documentation is created, it may be helpful to know that this class is strongly influenced by the Cocoa class NSNotificationCenter.
Most users will want to obtain the default instance using default():
EventManager.default().add_event_handler(...)
Handlers take a single parameter, the Event object being posted.
Returns the default (shared) EventManager instance.
Remove the given handler.