14 lines
178 B
C
14 lines
178 B
C
|
//Delta time class header
|
||
|
|
||
|
#include<SDL2/SDL.h>
|
||
|
|
||
|
class CUU{
|
||
|
public:
|
||
|
CUU();
|
||
|
float getDt();
|
||
|
int rendererWidth();
|
||
|
int rendererHeight();
|
||
|
private:
|
||
|
float now, last, dt;
|
||
|
};
|