diff options
author | Aki <please@ignore.pl> | 2022-04-22 01:11:24 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-22 01:11:24 +0200 |
commit | 804e71083e4df85c4f0692553de3084f0ed4cd9a (patch) | |
tree | 6cfdf65ee7de9c14984677ca4a607b27d9080e00 /Stage.h | |
parent | 7b8e199b0b6cccdf022bcd072bcdd8ab6c4072b1 (diff) | |
download | bullethell2022-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.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; }; |