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/GameScene.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'game/GameScene.cpp') diff --git a/game/GameScene.cpp b/game/GameScene.cpp index 3d692f8..ad42421 100644 --- a/game/GameScene.cpp +++ b/game/GameScene.cpp @@ -58,9 +58,8 @@ void GameScene::load_scene() { CoinSubScene coin; coin.create(*this); - // CoinSystem coin_system; - // coin_system.create_coins(*this); - // coin_system.add_location({900,0}); + CoinSystem coin_system; + coin_system.create_coins(*this); } -- cgit v1.2.3