From 9afadbd2b2d2c5ec730154a426e83722e4c3da32 Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Sat, 28 Dec 2024 19:34:07 +0100 Subject: renamed file --- game/coins/CoinPool.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 game/coins/CoinPool.cpp (limited to 'game/coins/CoinPool.cpp') 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); +} -- cgit v1.2.3