#include "CoinPoolSubScene.h" #include "CoinSubScene.h" using namespace crepe; using namespace std; void CoinPoolSubScene::create_coins(crepe::Scene & scn) { int amount = 0; CoinSubScene coin; while (amount < this->MAXIMUM_AMOUNT) { amount = coin.create(scn, amount); } }