summaryrefslogtreecommitdiffhomepage
path: root/TitleScreen.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-04-18 11:35:25 +0200
committerAki <please@ignore.pl>2022-04-18 11:35:25 +0200
commit7c9c492f1555bb84a43fc68a56f69c25b54e7346 (patch)
treef7594050ed5f0f3a8f4100b9cae081ff3a73a995 /TitleScreen.cpp
parent9026eea38124b73b17f19b137dbc71eab4a7a2e9 (diff)
downloadbullethell2022-7c9c492f1555bb84a43fc68a56f69c25b54e7346.zip
bullethell2022-7c9c492f1555bb84a43fc68a56f69c25b54e7346.tar.gz
bullethell2022-7c9c492f1555bb84a43fc68a56f69c25b54e7346.tar.bz2
Separated Stage from GameScreen
Diffstat (limited to 'TitleScreen.cpp')
-rw-r--r--TitleScreen.cpp3
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>()));
}