Class for limiting your FPS.
Creates a new FPS Limiter instance with specified max FPS.
Calculates how long to wait and then waits that amount of time to ensure the target FPS.
FPSLimiter limiter = new FPSLimiter(25); while(window.open) { window.clear(); // Draw and Update stuff window.display(); limiter.wait(); }
See Implementation
Class for limiting your FPS.