small rework of timer class

This commit is contained in:
h4570
2020-12-03 20:04:35 +01:00
parent 72266d0c25
commit f45f5c39c7
3 changed files with 9 additions and 20 deletions
+2 -1
View File
@@ -12,6 +12,7 @@
#define _TYRA_TIMER_
#include <tamtypes.h>
#include <timer.h>
/** Class responsible for fps counting */
class Timer
@@ -22,7 +23,7 @@ public:
~Timer();
u32 getTimeDelta();
void primeTimer();
inline void prime() { lastTime = *T3_COUNT; }
float getFPS();
private: