From 804e71083e4df85c4f0692553de3084f0ed4cd9a Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 22 Apr 2022 01:11:24 +0200 Subject: Added Stats for lifes points and other kind of gameplay state --- Stage.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Stage.h') 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 + +#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 m_stats; }; -- cgit v1.1