From 36942c357663a033582a1dfb39af0d3ab15afd0c Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Mon, 6 Jan 2025 10:46:11 +0100 Subject: start of enemypool and creation --- game/enemy/EnemyPool.cpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 game/enemy/EnemyPool.cpp (limited to 'game/enemy/EnemyPool.cpp') 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); +} -- cgit v1.2.3