aboutsummaryrefslogtreecommitdiff
path: root/game/enemy/EnemyPool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/enemy/EnemyPool.cpp')
-rw-r--r--game/enemy/EnemyPool.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/game/enemy/EnemyPool.cpp b/game/enemy/EnemyPool.cpp
new file mode 100644
index 0000000..b5160db
--- /dev/null
+++ b/game/enemy/EnemyPool.cpp
@@ -0,0 +1,7 @@
+#include "EnemySubScene.h"
+#include "EnemyPool.h"
+using namespace std;
+void EnemyPool::create_enemies(crepe::Scene & scn) {
+ EnemySubScene enemy;
+ while(enemy.create(scn) < this->MAXIMUM_AMOUNT);
+}