blob: 135fc351e0e7cd0fc3bcbba4047bd0491d161418 (
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 < ENEMY_POOL_MAX) {
amount = enemy.create(scn, amount);
}
}
|