diff --git a/include/Window.hpp b/include/Window.hpp index 9e1a4940..477c4a95 100644 --- a/include/Window.hpp +++ b/include/Window.hpp @@ -336,6 +336,14 @@ class Window { return ::GetFPS(); } + /** + * Draw current FPS + */ + inline Window& DrawFPS(int posX = 10, int posY = 10) { + ::DrawFPS(posX, posY); + return *this; + } + /** * Returns time in seconds for last frame drawn */