diff options
Diffstat (limited to 'game/enemy/EnemyBulletPool.cpp')
-rw-r--r-- | game/enemy/EnemyBulletPool.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/game/enemy/EnemyBulletPool.cpp b/game/enemy/EnemyBulletPool.cpp new file mode 100644 index 0000000..6ebd50a --- /dev/null +++ b/game/enemy/EnemyBulletPool.cpp @@ -0,0 +1,8 @@ +#include "EnemyBulletSubScene.h" +#include "EnemyBulletPool.h" +using namespace std; + +void EnemyBulletPool::create_bullets(crepe::Scene & scn) { + EnemyBulletSubScene bullet; + while(bullet.create(scn) < this->MAXIMUM_AMOUNT); +} |