diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-07 13:04:49 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-07 13:04:49 +0100 |
commit | 6d69c8ef6b663bd6716b441cc7d01164c7e33dfc (patch) | |
tree | cbf6d4a4d7f099ca662bed00edc627212511a99e /game/GameScene.cpp | |
parent | 87ae4d186ad64531e96fd3e121112f2787894295 (diff) |
more WIP zapperpool
Diffstat (limited to 'game/GameScene.cpp')
-rw-r--r-- | game/GameScene.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/game/GameScene.cpp b/game/GameScene.cpp index 1eefce1..698677b 100644 --- a/game/GameScene.cpp +++ b/game/GameScene.cpp @@ -23,7 +23,7 @@ #include "background/BackgroundSubScene.h" #include "player/PlayerSubScene.h" -#include "prefab/ZapperObject.h" +#include "prefab/ZapperPoolSubScene.h" using namespace crepe; using namespace std; @@ -69,7 +69,7 @@ void GameScene::load_scene() { }); ceiling.add_component<BoxCollider>(vec2(INFINITY, 200)); - ZapperObject {new_object("zapper", "zapper", vec2(800, 0))}; + ZapperPoolSubScene {*this}; GameObject start_game_script = new_object("start_game_script", "script", vec2(0, 0)); start_game_script.add_component<BehaviorScript>().set_script<StartGameScript>(); |