From 7f7c5c56dce30d47c32fb57fad6d839d0990b054 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Wed, 8 Jan 2025 10:08:03 +0100 Subject: enemy spawn working + enemy shooting --- game/enemy/EnemyBulletPool.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 game/enemy/EnemyBulletPool.h (limited to 'game/enemy/EnemyBulletPool.h') diff --git a/game/enemy/EnemyBulletPool.h b/game/enemy/EnemyBulletPool.h new file mode 100644 index 0000000..e0de02c --- /dev/null +++ b/game/enemy/EnemyBulletPool.h @@ -0,0 +1,10 @@ +#pragma once + +#include + +class EnemyBulletPool { +public: + void create_bullets(crepe::Scene & scn); +private: + static constexpr int MAXIMUM_AMOUNT = 20; +}; -- cgit v1.2.3