summaryrefslogtreecommitdiff
path: root/engine/include
diff options
context:
space:
mode:
Diffstat (limited to 'engine/include')
-rw-r--r--engine/include/kurator/engine/Clock.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/engine/include/kurator/engine/Clock.h b/engine/include/kurator/engine/Clock.h
new file mode 100644
index 0000000..4e5e7b1
--- /dev/null
+++ b/engine/include/kurator/engine/Clock.h
@@ -0,0 +1,20 @@
+#pragma once
+
+
+namespace kurator
+{
+namespace engine
+{
+
+
+struct Clock
+{
+ float time_factor = 1.0f;
+ float dt() const;
+ float ui() const;
+ operator float() const;
+};
+
+
+} // namespace engine
+} // namespace kurator