summaryrefslogtreecommitdiffhomepage
path: root/TestStage.h
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 /TestStage.h
parent9026eea38124b73b17f19b137dbc71eab4a7a2e9 (diff)
downloadbullethell2022-7c9c492f1555bb84a43fc68a56f69c25b54e7346.zip
bullethell2022-7c9c492f1555bb84a43fc68a56f69c25b54e7346.tar.gz
bullethell2022-7c9c492f1555bb84a43fc68a56f69c25b54e7346.tar.bz2
Separated Stage from GameScreen
Diffstat (limited to 'TestStage.h')
-rw-r--r--TestStage.h20
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;
+};