diff options
Diffstat (limited to 'game/coins/CoinPool.cpp')
-rw-r--r-- | game/coins/CoinPool.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/game/coins/CoinPool.cpp b/game/coins/CoinPool.cpp new file mode 100644 index 0000000..5720c2f --- /dev/null +++ b/game/coins/CoinPool.cpp @@ -0,0 +1,10 @@ +#include "CoinPool.h" +#include "CoinSubScene.h" + +using namespace crepe; +using namespace std; + +void CoinPool::create_coins(crepe::Scene & scn) { + CoinSubScene coin; + while(coin.create(scn) < this->MAXIMUM_AMOUNT); +} |