diff options
Diffstat (limited to 'game/coins/CoinScript.h')
-rw-r--r-- | game/coins/CoinScript.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/game/coins/CoinScript.h b/game/coins/CoinScript.h index e88a860..5718025 100644 --- a/game/coins/CoinScript.h +++ b/game/coins/CoinScript.h @@ -5,8 +5,10 @@ class CoinScript : public crepe::Script { public: void init() override; + void fixed_update(crepe::duration_t dt) override; bool on_collision(const crepe::CollisionEvent & collisionData); bool save(); + private: int amount = 0; }; |