X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmainloop.hpp;h=6edb42123ff32681910aa7ad3978a01018685b52;hb=2cc6d246e1ff259b7580707847abf9f139d3d22c;hp=e9fa1a11acde0539e0d5db59e9109deb2253b9ed;hpb=9d05abe97c11bec660967594ca889f89338ab343;p=supertux.git diff --git a/src/mainloop.hpp b/src/mainloop.hpp index e9fa1a11a..6edb42123 100644 --- a/src/mainloop.hpp +++ b/src/mainloop.hpp @@ -28,13 +28,16 @@ class Console; class ScreenFade; class DrawingContext; +/** + * Manages, updates and draws all Screens, Controllers, Menus and the Console. + */ class MainLoop { public: MainLoop(); ~MainLoop(); - void run(); + void run(DrawingContext &context); void exit_screen(ScreenFade* fade = NULL); void quit(ScreenFade* fade = NULL); void set_speed(float speed);