From fb096afbdf3d24f5b9f31626ddf8581033346f88 Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Sat, 28 Dec 2024 19:33:06 +0100 Subject: coins with system pooling --- game/mainmenu/MainMenuScene.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'game/mainmenu/MainMenuScene.cpp') diff --git a/game/mainmenu/MainMenuScene.cpp b/game/mainmenu/MainMenuScene.cpp index 472f190..80c945b 100644 --- a/game/mainmenu/MainMenuScene.cpp +++ b/game/mainmenu/MainMenuScene.cpp @@ -5,10 +5,8 @@ #include "api/BehaviorScript.h" #include "api/Camera.h" #include "../StartSubScene.h" -#include "../coins/CoinSubScene.h" #include "MainMenuConfig.h" #include "api/GameObject.h" -#include "api/Rigidbody.h" #include "api/Sprite.h" using namespace crepe; @@ -49,10 +47,6 @@ void MainMenuScene::load_scene(){ .position = pos, .script = ButtonSubScene::ScriptSelect::SHOP, }); - - CoinSubScene coin; - coin.create(*this); - coin.create(*this); //Start of map StartSubScene start; -- cgit v1.2.3