From 7c9c492f1555bb84a43fc68a56f69c25b54e7346 Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 18 Apr 2022 11:35:25 +0200 Subject: Separated Stage from GameScreen --- TitleScreen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'TitleScreen.cpp') diff --git a/TitleScreen.cpp b/TitleScreen.cpp index 3994fe9..0bf52f8 100644 --- a/TitleScreen.cpp +++ b/TitleScreen.cpp @@ -7,6 +7,7 @@ #include "Game.h" #include "GameScreen.h" #include "Globals.h" +#include "TestStage.h" static constexpr const char* TITLE {"Generic Bullet HELL"}; @@ -31,7 +32,7 @@ TitleScreen::update(const float dt) if (m_blink > 2 * INTERVAL) m_blink -= 2 * INTERVAL; if (IsKeyPressed(KEY_SPACE)) - g_game.set(std::make_unique()); + g_game.set(std::make_unique(std::make_unique())); } -- cgit v1.1