X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmainloop.cpp;h=314de15765d69f1db051633cacef102b3d5483ab;hb=aec9bf199857d0ae1a5dc54cd96ae37177493deb;hp=0a2daebdecb00803ac6aafab0012e92ace0da49f;hpb=a93bdf2bb864dc6ba7f9722b151e432fcab57240;p=supertux.git diff --git a/src/mainloop.cpp b/src/mainloop.cpp index 0a2daebde..314de1576 100644 --- a/src/mainloop.cpp +++ b/src/mainloop.cpp @@ -109,6 +109,12 @@ MainLoop::set_speed(float speed) this->speed = speed; } +float +MainLoop::get_speed() const +{ + return speed; +} + void MainLoop::draw_fps(DrawingContext& context, float fps_fps) {