aboutsummaryrefslogtreecommitdiffstats
path: root/include/gametime.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/gametime.hpp')
-rw-r--r--include/gametime.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/gametime.hpp b/include/gametime.hpp
new file mode 100644
index 0000000..c2991d2
--- /dev/null
+++ b/include/gametime.hpp
@@ -0,0 +1,16 @@
+#ifndef GAMETIME_H_
+#define GAMETIME_H_
+
+namespace gtime {
+ 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 mainLoopHandler(void);
+}
+
+#endif // GAMETIME_H_