j4yk / skat

Common Lisp XMPP-skat project for school
1 stars 0 forks source link

when to capture SDL_Event for agar #3

Closed j4yk closed 14 years ago

j4yk commented 14 years ago

The init-handler is executed every frame and it's called within the scope of with-init's let. Therefore if the SDL_Event (foreign object) variable would be exposed, one could check it out in the idle-handler.

j4yk commented 14 years ago

it's defined for each event seperately now, because in init one had to check if the event has already been processed previously