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 /TestStage.h | |
parent | 9026eea38124b73b17f19b137dbc71eab4a7a2e9 (diff) | |
download | bullethell2022-7c9c492f1555bb84a43fc68a56f69c25b54e7346.zip bullethell2022-7c9c492f1555bb84a43fc68a56f69c25b54e7346.tar.gz bullethell2022-7c9c492f1555bb84a43fc68a56f69c25b54e7346.tar.bz2 |
Separated Stage from GameScreen
Diffstat (limited to 'TestStage.h')
-rw-r--r-- | TestStage.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/TestStage.h b/TestStage.h new file mode 100644 index 0000000..10164cd --- /dev/null +++ b/TestStage.h @@ -0,0 +1,20 @@ +#pragma once + +#include "ConstantVelocity.h" +#include "ExampleGenerator.h" +#include "Player.h" +#include "Stage.h" + + +class TestStage : public Stage +{ +public: + TestStage(); + void update(float dt) override; + void draw() override; + int total_bullets() const override; +private: + Player m_player; + ConstantVelocitySystem m_const; + ExampleGenerator m_generator; +}; |