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.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/game/enemy/EnemyPool.cpp b/game/enemy/EnemyPool.cpp
new file mode 100644
index 0000000..a7179bf
--- /dev/null
+++ b/game/enemy/EnemyPool.cpp
@@ -0,0 +1,10 @@
+#include "EnemyPool.h"
+#include "EnemySubScene.h"
+using namespace std;
+void EnemyPool::create_enemies(crepe::Scene & scn) {
+ EnemySubScene enemy;
+ int amount = 0;
+ while (amount < this->MAXIMUM_AMOUNT) {
+ amount = enemy.create(scn, amount);
+ }
+}