aboutsummaryrefslogtreecommitdiff
path: root/game/player/PlayerBulletPool.cpp
blob: 5285ec86c13c4b58ec2cb08a3e6db4e1d0855e37 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "PlayerBulletPool.h"
#include "PlayerBulletSubScene.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);
	}
}