blob: 23f03c96bddc0ef559a6fb96d7d71bf9c7754929 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "MissilePool.h"
#include "MissileSubScene.h"
#include "missile/AlertSubScene.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) {
MissileAlert alert(scn);
missile.create(scn);
amount++;
}
}
|