Index: src/OGKEventQueue.h ================================================================== --- src/OGKEventQueue.h +++ src/OGKEventQueue.h @@ -48,13 +48,13 @@ __unsafe_unretained id delegate; } @property (unsafe_unretained) id delegate; -- (void)handleNextEvent; +- (void)handleEvents; - (void)registerDisplay: (OGKDisplay*)display; - (void)unregisterDisplay: (OGKDisplay*)display; - (void)registerKeyboard; - (void)unregisterKeyboard; - (void)registerMouse; - (void)unregisterMouse; @end Index: src/OGKEventQueue.m ================================================================== --- src/OGKEventQueue.m +++ src/OGKEventQueue.m @@ -51,11 +51,11 @@ { if (al_is_system_installed()) al_destroy_event_queue(eventQueue); } -- (void)handleNextEvent +- (void)handleEvents { OGKEvent *event = [[OGKEvent alloc] init]; ALLEGRO_EVENT *allegroEvent = [event OGK_allegroEvent]; while (al_get_next_event(eventQueue, allegroEvent)) { Index: tests/TestMain.m ================================================================== --- tests/TestMain.m +++ tests/TestMain.m @@ -73,11 +73,11 @@ event.wheel.x, event.wheel.y); } - (void)handleEvents { - [eventQueue handleNextEvent]; + [eventQueue handleEvents]; } - (void)draw { [OGKBitmap clearToColor: OGK_COLOR_BLACK];