aboutsummaryrefslogtreecommitdiffstats
path: root/include/gametime.hpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-04-27 08:50:07 -0400
committerClyne Sullivan <tullivan99@gmail.com>2016-04-27 08:50:07 -0400
commit174bcd3a415c21fc2c59a3af1b6333faa78b37d0 (patch)
treed2f9c9fe8a79628fb95557acb2a0bc03aedb07e3 /include/gametime.hpp
parent88c21e763178856aef0155595d49085919205951 (diff)
ui fixes, other stuff
Diffstat (limited to 'include/gametime.hpp')
-rw-r--r--include/gametime.hpp18
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_