diff options
Diffstat (limited to 'include/gametime.hpp')
-rw-r--r-- | include/gametime.hpp | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/include/gametime.hpp b/include/gametime.hpp index c2991d2..a809ef9 100644 --- a/include/gametime.hpp +++ b/include/gametime.hpp @@ -1,16 +1,18 @@ #ifndef GAMETIME_H_ #define GAMETIME_H_ -namespace gtime { - void setTickCount(unsigned int t); - unsigned int getTickCount(void); - unsigned int getDeltaTime(void); +namespace game { + namespace time { + void setTickCount(unsigned int t); + unsigned int getTickCount(void); + unsigned int getDeltaTime(void); - void tick(void); - void tick(unsigned int ticks); - bool tickHasPassed(void); + void tick(void); + void tick(unsigned int ticks); + bool tickHasPassed(void); - void mainLoopHandler(void); + void mainLoopHandler(void); + } } #endif // GAMETIME_H_ |