diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-08 14:57:09 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-08 14:57:09 +0100 |
commit | 714c8798dd0998ea15b1ba697962a97c586457fe (patch) | |
tree | 86d36b17a71845cd4b5d16a0e9abd11df0d55c03 /game/player/PlayerBulletPool.cpp | |
parent | fbd7c84e13381922bf327e20c1abc65337142445 (diff) | |
parent | 0de6692dcb029540f4502c5a2f1a0c6634f7b61f (diff) |
Merge remote-tracking branch 'origin/wouter/enemyAI' into niels/game
Diffstat (limited to 'game/player/PlayerBulletPool.cpp')
-rw-r--r-- | game/player/PlayerBulletPool.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/game/player/PlayerBulletPool.cpp b/game/player/PlayerBulletPool.cpp new file mode 100644 index 0000000..5285ec8 --- /dev/null +++ b/game/player/PlayerBulletPool.cpp @@ -0,0 +1,11 @@ +#include "PlayerBulletPool.h" +#include "PlayerBulletSubScene.h" +using namespace std; + +void PlayerBulletPool::create_bullets(crepe::Scene & scn) { + PlayerBulletSubScene bullet; + int amount = 0; + while (amount < this->MAXIMUM_AMOUNT) { + amount = bullet.create(scn, amount); + } +} |