X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmainloop.cpp;h=314de15765d69f1db051633cacef102b3d5483ab;hb=9d05abe97c11bec660967594ca889f89338ab343;hp=0a2daebdecb00803ac6aafab0012e92ace0da49f;hpb=037c2fda32f118ad778cdb57c2c7efcbeb96fe6b;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) {