diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-28 19:33:06 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-28 19:33:06 +0100 |
commit | fb096afbdf3d24f5b9f31626ddf8581033346f88 (patch) | |
tree | 1cb4e653322784fc28d87e0458c63d1e3d199f20 /game/GameScene.cpp | |
parent | 26d66b7a73ac8d172d342be03bd75bd5bea221e1 (diff) |
coins with system pooling
Diffstat (limited to 'game/GameScene.cpp')
-rw-r--r-- | game/GameScene.cpp | 5 |
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); } |