EventManager

Undocumented in source.

Constructors

this
this()

EventManager constructor.

Destructor

~this
~this()

EventManager destructor.

Members

Functions

emit
void emit(Event event)

Sends event to receivers. Can't be @nogc because we don't wanna force user to use @nogc.

subscribe
void subscribe(EventReceiver!Event receiver)

Subscribes to an event.

Meta