NAME

SDLx::Controller::Widget - Handles the loops for event, movement and rendering

Description

Using http://www.lazyfoo.net/SDL_tutorials/lesson32/index.php as our base

and

http://gafferongames.com/game-physics/fix-your-timestep/

for timing

METHODS

run

add_move_handler

Register a callback to update objects

add_show_handler

Register a callback to render objects

add_event_handler

Register a callback to handle events SDL or game like

current_fps

AUTHOR

kthakore