aboutsummaryrefslogtreecommitdiff
path: root/game/coins/CoinScript.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-07 12:06:05 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-07 12:06:05 +0100
commit42cbef630ccaf3e841459d364edade1a3c72a525 (patch)
treea181474b57b9094d716cf15d87122cd56f84355f /game/coins/CoinScript.h
parentfcae8934916c9f429e58c8e178ab14fcf65a2bbc (diff)
coin update
Diffstat (limited to 'game/coins/CoinScript.h')
-rw-r--r--game/coins/CoinScript.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/game/coins/CoinScript.h b/game/coins/CoinScript.h
index 96e54fa..e88a860 100644
--- a/game/coins/CoinScript.h
+++ b/game/coins/CoinScript.h
@@ -6,4 +6,7 @@ class CoinScript : public crepe::Script {
public:
void init() override;
bool on_collision(const crepe::CollisionEvent & collisionData);
+ bool save();
+private:
+ int amount = 0;
};