From 6a30c3e4f22de4d0f8f32107f614f597f5f39cc1 Mon Sep 17 00:00:00 2001 From: Mel Date: Mon, 12 Feb 2024 13:01:15 +0100 Subject: Rescue player from void if current chunk wasn't generated prior --- src/Time.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Time.hpp') 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(); -- cgit 1.4.1