summaryrefslogtreecommitdiff
path: root/2026/games/just__jane/include/clock.hpp
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-08-29 04:06:51 -0400
committerLLLL Colonq <llll@colonq>2026-08-29 04:06:51 -0400
commit761a3172bf4c15aed3836e4d1cd6f815b651b0e0 (patch)
treecc90491529e83349d84d42a8e9982e5f0f38338e /2026/games/just__jane/include/clock.hpp
parent0d2d8cd897e94bd94e0b3ae7c6ce9aa580a44a0a (diff)
Fix
Diffstat (limited to '2026/games/just__jane/include/clock.hpp')
-rw-r--r--2026/games/just__jane/include/clock.hpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/2026/games/just__jane/include/clock.hpp b/2026/games/just__jane/include/clock.hpp
new file mode 100644
index 0000000..41bec56
--- /dev/null
+++ b/2026/games/just__jane/include/clock.hpp
@@ -0,0 +1,24 @@
+#pragma once
+
+#include <raymath.h>
+
+class Clock {
+private:
+ float radius_;
+ long frame_total_;
+ long current_frame_;
+ Vector2 center_position_;
+
+public:
+ Clock(float radius, Vector2 center, int total) {
+ radius_ = radius;
+ frame_total_ = total;
+ current_frame_ = total;
+ center_position_ = center;
+ }
+
+ void Update();
+ void Draw();
+ bool TimeIsUp();
+ void Reset();
+};