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 /GameScreen.h | |
parent | 9026eea38124b73b17f19b137dbc71eab4a7a2e9 (diff) | |
download | bullethell2022-7c9c492f1555bb84a43fc68a56f69c25b54e7346.zip bullethell2022-7c9c492f1555bb84a43fc68a56f69c25b54e7346.tar.gz bullethell2022-7c9c492f1555bb84a43fc68a56f69c25b54e7346.tar.bz2 |
Separated Stage from GameScreen
Diffstat (limited to 'GameScreen.h')
-rw-r--r-- | GameScreen.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/GameScreen.h b/GameScreen.h index 11d5b73..5b43512 100644 --- a/GameScreen.h +++ b/GameScreen.h @@ -1,21 +1,19 @@ #pragma once +#include <memory> + #include <raylib.h> -#include "ConstantVelocity.h" -#include "ExampleGenerator.h" -#include "Player.h" #include "Screen.h" +#include "Stage.h" class GameScreen : public Screen { public: - GameScreen(); + explicit GameScreen(std::unique_ptr<Stage> stage); void update(float dt) override; void draw() override; private: - Player m_player; - ConstantVelocitySystem m_const; - ExampleGenerator m_generator; + std::unique_ptr<Stage> m_stage; }; |