aboutsummaryrefslogtreecommitdiff
path: root/game/coins/CoinPool.cpp
blob: 439b3b31e7351de87a35788c5d6493e42bb34cb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "CoinPool.h"
#include "CoinScript.h"
#include "CoinSubScene.h"
#include "api/BehaviorScript.h"
#include "api/GameObject.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);
	}
}