aboutsummaryrefslogtreecommitdiff
path: root/game/enemy/EnemyPool.cpp
blob: a7179bfffafed33d47be063a9d087be828f5a310 (plain)
1
2
3
4
5
6
7
8
9
10
#include "EnemyPool.h"
#include "EnemySubScene.h"
using namespace std;
void EnemyPool::create_enemies(crepe::Scene & scn) {
	EnemySubScene enemy;
	int amount = 0;
	while (amount < this->MAXIMUM_AMOUNT) {
		amount = enemy.create(scn, amount);
	}
}