aboutsummaryrefslogtreecommitdiff
path: root/game/coins/CoinPoolSubScene.cpp
blob: 05f6bfc928f1e070745e72c580d7d03555f4bb31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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);
	}
}