summary refs log tree commit diff
path: root/src/Time.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Time.hpp')
-rw-r--r--src/Time.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Time.hpp b/src/Time.hpp
index 83c41c0..04f22c8 100644
--- a/src/Time.hpp
+++ b/src/Time.hpp
@@ -7,6 +7,7 @@ namespace MC {
 class Time {
 public:
     using Timestamp = U64;
+    using Tick = U64;
 
     Time() = default;
 
@@ -14,6 +15,7 @@ public:
     void end_frame();
 
     U64 total_frames() const;
+    Tick tick() const;
     Real delta() const;
 
     static Timestamp now();