The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

DESCRIPTION

The EventManager is responsible for sending events to controllers, so they can trigger actions at specific times.

For instance, when you press a key, or the game ticks, it is an event.

The EventManager will contact all the controllers so they can take the appropriate action.

reg_listener

Registers a listener that will be updated

un_reg_listener

UnRegisters a listerner

listeners

All listeners attached to this EventManager

evt_queue

The current evnets in queue

post

Send update signal to all Controllers