Skip to content

Commit

Permalink
Finished up 1st example of Event
Browse files Browse the repository at this point in the history
  • Loading branch information
kthakore committed Sep 26, 2010
1 parent aec6016 commit 77f8f29
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/03-events.pod
Expand Up @@ -44,9 +44,13 @@ callbacks.

=end programlisting

=head2 Polling an Event
C<SDLx::App> calls the event_handlers and expect either a 1 or 0 returned. When 0 is returned C<SDLx::App> will exit gracefully.

Polling Events give us the next event.
=for sidebar

It is possible to do event processing with out using C<SDLx::App> callbacks. Have a look at the perldoc for C<SDL::Events>.

=end sidebar

=head1 Input Devices

Expand Down

0 comments on commit 77f8f29

Please sign in to comment.