blob: e5492101daa382d6241edfb85b525081e60a3b7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "MissilePool.h"
#include "MissileSubScene.h"
#include <crepe/api/Scene.h>
using namespace std;
using namespace crepe;
MissilePool::MissilePool(Scene & scn) {
int amount = 0;
MissileSubScene missile;
while (amount < this->MAX_MISSILE_COUNT) {
missile.create(scn);
amount++;
}
}
|