diff options
author | Max-001 <maxsmits21@kpnmail.nl> | 2024-12-24 16:31:58 +0100 |
---|---|---|
committer | Max-001 <maxsmits21@kpnmail.nl> | 2024-12-24 16:31:58 +0100 |
commit | abbfe5d06697b93de485dcfe975812befc018a00 (patch) | |
tree | 8b6b5c5d327e5eb3fb5855846f52d155c7364e2f /game/GameScene.cpp | |
parent | a764ef0f1f6b7c5d18155163d63db1a6dd47093a (diff) |
Moved EndGameScript to Player
Diffstat (limited to 'game/GameScene.cpp')
-rw-r--r-- | game/GameScene.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/game/GameScene.cpp b/game/GameScene.cpp index b471484..821191d 100644 --- a/game/GameScene.cpp +++ b/game/GameScene.cpp @@ -1,6 +1,5 @@ #include "GameScene.h" #include "Config.h" -#include "EndGameScript.h" #include "MoveCameraManualyScript.h" #include "StartGameScript.h" @@ -67,8 +66,6 @@ void GameScene::load_scene() { GameObject start_game_script = new_object("start_game_script", "script", vec2(0, 0)); start_game_script.add_component<BehaviorScript>().set_script<StartGameScript>(); - GameObject end_game_script = new_object("end_game_script", "script", vec2(0, 0)); - end_game_script.add_component<BehaviorScript>().set_script<EndGameScript>().active = false; // zapper, laser and missile (below) for testing purpose only!!! GameObject zapper = new_object("zapper", "zapper", vec2(1000, 0)); |