diff options
author | Aki <please@ignore.pl> | 2022-04-18 11:35:25 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-18 11:35:25 +0200 |
commit | 7c9c492f1555bb84a43fc68a56f69c25b54e7346 (patch) | |
tree | f7594050ed5f0f3a8f4100b9cae081ff3a73a995 /TitleScreen.cpp | |
parent | 9026eea38124b73b17f19b137dbc71eab4a7a2e9 (diff) | |
download | bullethell2022-7c9c492f1555bb84a43fc68a56f69c25b54e7346.zip bullethell2022-7c9c492f1555bb84a43fc68a56f69c25b54e7346.tar.gz bullethell2022-7c9c492f1555bb84a43fc68a56f69c25b54e7346.tar.bz2 |
Separated Stage from GameScreen
Diffstat (limited to 'TitleScreen.cpp')
-rw-r--r-- | TitleScreen.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<GameScreen>()); + g_game.set(std::make_unique<GameScreen>(std::make_unique<TestStage>())); } |