diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-08 14:33:38 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-08 14:33:38 +0100 |
commit | 0729209117a4393e66d7f5b6d83083e2d7c0694c (patch) | |
tree | 0f84c9dcb1ef6ad7268f7508ae6576f6e42fc7e4 /game/main.cpp | |
parent | b445a1716a46dc875e0b2180c1a1b6022ec7a6d3 (diff) |
made my code work by adding it to the gamescene,main and config
Diffstat (limited to 'game/main.cpp')
-rw-r--r-- | game/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/game/main.cpp b/game/main.cpp index e341353..5c050f4 100644 --- a/game/main.cpp +++ b/game/main.cpp @@ -2,6 +2,7 @@ #include <crepe/api/Script.h> #include "GameScene.h" +#include "PreviewScene.h" #include "menus/mainmenu/MainMenuScene.h" #include "menus/shop/ShopMenuScene.h" @@ -12,6 +13,7 @@ int main() { gameloop.add_scene<MainMenuScene>(); gameloop.add_scene<ShopMenuScene>(); gameloop.add_scene<GameScene>(); + gameloop.add_scene<PreviewScene>(); return gameloop.main(); } |