diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-06 10:46:11 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-06 10:46:11 +0100 |
commit | 36942c357663a033582a1dfb39af0d3ab15afd0c (patch) | |
tree | 4edf5b5dcdd5fe6ec5011c89583324d291a00850 /game/enemy/EnemyPool.cpp | |
parent | cf6ca6be5a9deac4de921f50d0aedf6a6156e0f4 (diff) |
start of enemypool and creation
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); +} |