aboutsummaryrefslogtreecommitdiff
path: root/game/coins/CoinPool.cpp
blob: 59b987c319a0eff8df413da79d1b8461ebf46406 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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) {
	CoinSubScene coin;
	while(coin.create(scn) < this->MAXIMUM_AMOUNT);
}