aboutsummaryrefslogtreecommitdiff
path: root/game/coins/CoinScript.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-03 16:12:14 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-03 16:12:14 +0100
commitf18635b6c73f753bd38343684134430a5ce9b22c (patch)
treee838c01914244c517b17d6359241a8cbf78ac6ae /game/coins/CoinScript.h
parentb82c302e2eb5044ae966230a50aae9bdb698cf8c (diff)
added coins random and menu banner update
Diffstat (limited to 'game/coins/CoinScript.h')
-rw-r--r--game/coins/CoinScript.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/game/coins/CoinScript.h b/game/coins/CoinScript.h
new file mode 100644
index 0000000..6c52733
--- /dev/null
+++ b/game/coins/CoinScript.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include "api/Script.h"
+
+class CoinScript : public crepe::Script {
+public:
+ void init() override;
+ bool on_collision(const crepe::CollisionEvent & collisionData);
+ static constexpr const char* PLAYER_NAME = "player";
+};