aboutsummaryrefslogtreecommitdiff
path: root/game/player/PlayerBulletPool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/player/PlayerBulletPool.cpp')
-rw-r--r--game/player/PlayerBulletPool.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/game/player/PlayerBulletPool.cpp b/game/player/PlayerBulletPool.cpp
new file mode 100644
index 0000000..63ef346
--- /dev/null
+++ b/game/player/PlayerBulletPool.cpp
@@ -0,0 +1,8 @@
+#include "PlayerBulletSubScene.h"
+#include "PlayerBulletPool.h"
+using namespace std;
+
+void PlayerBulletPool::create_bullets(crepe::Scene & scn) {
+ PlayerBulletSubScene bullet;
+ while(bullet.create(scn) < this->MAXIMUM_AMOUNT);
+}