aboutsummaryrefslogtreecommitdiff
path: root/game/coins
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-07 22:07:32 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-07 22:07:32 +0100
commitf2028cd4def82f5f6a52392ff011f6d0fa4aa315 (patch)
tree149f7ff853c22cc5d7ce5f2917fbc277fa419b33 /game/coins
parent055ca804ebe27ea77f1c09079f119a0526426e70 (diff)
correct naming
Diffstat (limited to 'game/coins')
-rw-r--r--game/coins/CoinPoolSubScene.cpp (renamed from game/coins/CoinPool.cpp)4
-rw-r--r--game/coins/CoinPoolSubScene.h (renamed from game/coins/CoinPool.h)2
2 files changed, 3 insertions, 3 deletions
diff --git a/game/coins/CoinPool.cpp b/game/coins/CoinPoolSubScene.cpp
index 1d2d0de..05f6bfc 100644
--- a/game/coins/CoinPool.cpp
+++ b/game/coins/CoinPoolSubScene.cpp
@@ -1,10 +1,10 @@
-#include "CoinPool.h"
+#include "CoinPoolSubScene.h"
#include "CoinSubScene.h"
using namespace crepe;
using namespace std;
-void CoinPool::create_coins(crepe::Scene & scn) {
+void CoinPoolSubScene::create_coins(crepe::Scene & scn) {
int amount = 0;
CoinSubScene coin;
while(amount < this->MAXIMUM_AMOUNT){
diff --git a/game/coins/CoinPool.h b/game/coins/CoinPoolSubScene.h
index d94c352..7360051 100644
--- a/game/coins/CoinPool.h
+++ b/game/coins/CoinPoolSubScene.h
@@ -2,7 +2,7 @@
#include <crepe/api/Scene.h>
-class CoinPool {
+class CoinPoolSubScene {
public:
void create_coins(crepe::Scene & scn);
private: