SDL::Tutorial::Tetris::EventManager
The EventManager is responsible for sending events to controllers, so they can trigger actions at specific times.
EventManager
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.
To install SDL::Tutorial::Tetris, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SDL::Tutorial::Tetris
CPAN shell
perl -MCPAN -e shell install SDL::Tutorial::Tetris
For more information on module installation, please visit the detailed CPAN module installation guide.