aboutsummaryrefslogtreecommitdiff
path: root/game/GameScene.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-28 19:33:06 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-28 19:33:06 +0100
commitfb096afbdf3d24f5b9f31626ddf8581033346f88 (patch)
tree1cb4e653322784fc28d87e0458c63d1e3d199f20 /game/GameScene.cpp
parent26d66b7a73ac8d172d342be03bd75bd5bea221e1 (diff)
coins with system pooling
Diffstat (limited to 'game/GameScene.cpp')
-rw-r--r--game/GameScene.cpp5
1 files changed, 2 insertions, 3 deletions
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);
}