diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2025-01-07 22:07:32 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2025-01-07 22:07:32 +0100 |
commit | f2028cd4def82f5f6a52392ff011f6d0fa4aa315 (patch) | |
tree | 149f7ff853c22cc5d7ce5f2917fbc277fa419b33 /game/coins/CoinPoolSubScene.cpp | |
parent | 055ca804ebe27ea77f1c09079f119a0526426e70 (diff) |
correct naming
Diffstat (limited to 'game/coins/CoinPoolSubScene.cpp')
-rw-r--r-- | game/coins/CoinPoolSubScene.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/game/coins/CoinPoolSubScene.cpp b/game/coins/CoinPoolSubScene.cpp new file mode 100644 index 0000000..05f6bfc --- /dev/null +++ b/game/coins/CoinPoolSubScene.cpp @@ -0,0 +1,13 @@ +#include "CoinPoolSubScene.h" +#include "CoinSubScene.h" + +using namespace crepe; +using namespace std; + +void CoinPoolSubScene::create_coins(crepe::Scene & scn) { + int amount = 0; + CoinSubScene coin; + while(amount < this->MAXIMUM_AMOUNT){ + amount = coin.create(scn,amount); + } +} |