diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-28 19:34:07 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-28 19:34:07 +0100 |
commit | 9afadbd2b2d2c5ec730154a426e83722e4c3da32 (patch) | |
tree | 8f986a805101f9387d1b3c4ebfa42573cd924df3 /game/coins | |
parent | fb096afbdf3d24f5b9f31626ddf8581033346f88 (diff) |
renamed file
Diffstat (limited to 'game/coins')
-rw-r--r-- | game/coins/CoinPool.cpp (renamed from game/coins/CoinSystem.cpp) | 4 | ||||
-rw-r--r-- | game/coins/CoinPool.h (renamed from game/coins/CoinSystem.h) | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/game/coins/CoinSystem.cpp b/game/coins/CoinPool.cpp index 60d558b..5720c2f 100644 --- a/game/coins/CoinSystem.cpp +++ b/game/coins/CoinPool.cpp @@ -1,10 +1,10 @@ -#include "CoinSystem.h" +#include "CoinPool.h" #include "CoinSubScene.h" using namespace crepe; using namespace std; -void CoinSystem::create_coins(crepe::Scene & scn) { +void CoinPool::create_coins(crepe::Scene & scn) { CoinSubScene coin; while(coin.create(scn) < this->MAXIMUM_AMOUNT); } diff --git a/game/coins/CoinSystem.h b/game/coins/CoinPool.h index 31e72f1..83058f7 100644 --- a/game/coins/CoinSystem.h +++ b/game/coins/CoinPool.h @@ -3,7 +3,7 @@ #include "api/Scene.h" -class CoinSystem { +class CoinPool { public: void create_coins(crepe::Scene & scn); private: |