diff options
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: |