aboutsummaryrefslogtreecommitdiff
path: root/game/coins/CoinPool.cpp
blob: 1d2d0de4b49cbeb2b74bf516cd132669cae310bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "CoinPool.h"
#include "CoinSubScene.h"

using namespace crepe;
using namespace std;

void CoinPool::create_coins(crepe::Scene & scn) {
	int amount = 0;
	CoinSubScene coin;
	while(amount < this->MAXIMUM_AMOUNT){
		amount = coin.create(scn,amount);
	}
}