summaryrefslogtreecommitdiffhomepage
path: root/Stage.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 /Stage.h
parent9026eea38124b73b17f19b137dbc71eab4a7a2e9 (diff)
downloadbullethell2022-7c9c492f1555bb84a43fc68a56f69c25b54e7346.zip
bullethell2022-7c9c492f1555bb84a43fc68a56f69c25b54e7346.tar.gz
bullethell2022-7c9c492f1555bb84a43fc68a56f69c25b54e7346.tar.bz2
Separated Stage from GameScreen
Diffstat (limited to 'Stage.h')
-rw-r--r--Stage.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Stage.h b/Stage.h
new file mode 100644
index 0000000..0a0cb46
--- /dev/null
+++ b/Stage.h
@@ -0,0 +1,10 @@
+#pragma once
+
+
+struct Stage
+{
+ virtual ~Stage() = default;
+ virtual void update(float dt) = 0;
+ virtual void draw() = 0;
+ virtual int total_bullets() const = 0;
+};