1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#pragma once #include <memory> #include "Player.h" #include "Stats.h" struct Stage { virtual ~Stage() = default; virtual void update(float dt) = 0; virtual void draw() = 0; Player m_player; std::shared_ptr<Stats> m_stats; };