aboutsummaryrefslogtreecommitdiff
path: root/game/coins/CoinSystemScript.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-28 16:22:58 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-28 16:22:58 +0100
commit26d66b7a73ac8d172d342be03bd75bd5bea221e1 (patch)
tree8814afa7859bf7d142b475acec4432e254e204c8 /game/coins/CoinSystemScript.h
parent6a3063e6012bae44457b668ce48c48b8af90a95d (diff)
coin system
Diffstat (limited to 'game/coins/CoinSystemScript.h')
-rw-r--r--game/coins/CoinSystemScript.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/game/coins/CoinSystemScript.h b/game/coins/CoinSystemScript.h
new file mode 100644
index 0000000..96744f1
--- /dev/null
+++ b/game/coins/CoinSystemScript.h
@@ -0,0 +1,13 @@
+#pragma once
+
+#include "CoinSystem.h"
+#include "api/Script.h"
+
+class CoinSystemScript : public crepe::Script {
+public:
+ CoinSystemScript() {};
+ // void init() override;
+ void frame_update(crepe::duration_t dt) override;
+private:
+ CoinSystem coin_system;
+};