aboutsummaryrefslogtreecommitdiff
path: root/game/coins/CoinPool.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-28 19:34:07 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-28 19:34:07 +0100
commit9afadbd2b2d2c5ec730154a426e83722e4c3da32 (patch)
tree8f986a805101f9387d1b3c4ebfa42573cd924df3 /game/coins/CoinPool.cpp
parentfb096afbdf3d24f5b9f31626ddf8581033346f88 (diff)
renamed file
Diffstat (limited to 'game/coins/CoinPool.cpp')
-rw-r--r--game/coins/CoinPool.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/game/coins/CoinPool.cpp b/game/coins/CoinPool.cpp
new file mode 100644
index 0000000..5720c2f
--- /dev/null
+++ b/game/coins/CoinPool.cpp
@@ -0,0 +1,10 @@
+#include "CoinPool.h"
+#include "CoinSubScene.h"
+
+using namespace crepe;
+using namespace std;
+
+void CoinPool::create_coins(crepe::Scene & scn) {
+ CoinSubScene coin;
+ while(coin.create(scn) < this->MAXIMUM_AMOUNT);
+}