aboutsummaryrefslogtreecommitdiff
path: root/game/GameScene.cpp
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/GameScene.cpp
parent055ca804ebe27ea77f1c09079f119a0526426e70 (diff)
correct naming
Diffstat (limited to 'game/GameScene.cpp')
-rw-r--r--game/GameScene.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/game/GameScene.cpp b/game/GameScene.cpp
index fce8206..38ac4b1 100644
--- a/game/GameScene.cpp
+++ b/game/GameScene.cpp
@@ -2,8 +2,7 @@
#include "Config.h"
#include "MoveCameraManualyScript.h"
#include "StartGameScript.h"
-#include "coins/CoinSubScene.h"
-#include "coins/CoinPool.h"
+#include "coins/CoinPoolSubScene.h"
#include "coins/CoinSystemScript.h"
#include "background/BackgroundSubScene.h"
@@ -11,7 +10,6 @@
#include "hud/HudSubScene.h"
#include "hud/SpeedScript.h"
#include "menus/endgame/EndGameSubScene.h"
-#include "menus/endgame/EndGameSubScript.h"
#include "player/PlayerSubScene.h"
#include <cmath>
@@ -81,7 +79,7 @@ void GameScene::load_scene() {
start_game_script.add_component<BehaviorScript>().set_script<StartGameScript>();
//create coin pool
- CoinPool coin_system;
+ CoinPoolSubScene coin_system;
coin_system.create_coins(*this);
HudSubScene hud;