#pragma once #include "Draw.hpp" #include "scene/Scene.hpp" #include "raylib.h" class GameplayScene; class StartMenuScene; /** * Post-death scene that offers restart or return to menu. */ class DeathScene : public Scene { public: explicit DeathScene(SceneManager &owner) : Scene(owner) {} // Alternate constructor that accepts the star count to display. explicit DeathScene(SceneManager &owner, int stars) : Scene(owner), collectedStars(stars) {} void Update(float dt) override; void Draw() override; private: int collectedStars = 0; };