diff options
Diffstat (limited to 'game/enemy/EnemyPool.cpp')
-rw-r--r-- | game/enemy/EnemyPool.cpp | 7 |
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); +} |