summaryrefslogtreecommitdiffhomepage
path: root/Stage.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-04-22 01:11:24 +0200
committerAki <please@ignore.pl>2022-04-22 01:11:24 +0200
commit804e71083e4df85c4f0692553de3084f0ed4cd9a (patch)
tree6cfdf65ee7de9c14984677ca4a607b27d9080e00 /Stage.h
parent7b8e199b0b6cccdf022bcd072bcdd8ab6c4072b1 (diff)
downloadbullethell2022-804e71083e4df85c4f0692553de3084f0ed4cd9a.zip
bullethell2022-804e71083e4df85c4f0692553de3084f0ed4cd9a.tar.gz
bullethell2022-804e71083e4df85c4f0692553de3084f0ed4cd9a.tar.bz2
Added Stats for lifes points and other kind of gameplay state
Diffstat (limited to 'Stage.h')
-rw-r--r--Stage.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Stage.h b/Stage.h
index 0a0cb46..fcb69b3 100644
--- a/Stage.h
+++ b/Stage.h
@@ -1,10 +1,14 @@
#pragma once
+#include <memory>
+
+#include "Stats.h"
+
struct Stage
{
virtual ~Stage() = default;
virtual void update(float dt) = 0;
virtual void draw() = 0;
- virtual int total_bullets() const = 0;
+ std::shared_ptr<Stats> m_stats;
};