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