blob: 3ee48163d38810d79721d866fbb07f5a0d811d94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "EnemyBulletPool.h"
#include "EnemyBulletSubScene.h"
using namespace std;
void EnemyBulletPool::create_bullets(crepe::Scene & scn) {
EnemyBulletSubScene bullet;
int amount = 0;
while (amount < this->MAXIMUM_AMOUNT) {
amount = bullet.create(scn, amount);
}
}
|