Rose
Public Member Functions | List of all members
rose::gm::Fps Class Reference

Throttle the application to limit the number of frames per second the scene is refreshed. More...

Public Member Functions

 Fps (int tickInterval=30)
 Constructor. More...
 
void next ()
 Wait until the next frame interval.
 

Detailed Description

Throttle the application to limit the number of frames per second the scene is refreshed.

Constructor & Destructor Documentation

◆ Fps()

rose::gm::Fps::Fps ( int  tickInterval = 30)
inlineexplicit

Constructor.

Parameters
tickIntervalThe number of SDL ticks desired between frames.

The documentation for this class was generated from the following file: