Kartik Thakore > SDL-Tutorial-Tetris-0.04 > SDL::Tutorial::Tetris::EventManager

Download:
SDL-Tutorial-Tetris-0.04.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

SDL::Tutorial::Tetris::EventManager

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

un_reg_listener

listeners

evt_queue

post

syntax highlighting: