#pragma once #include "scene.h" #include "../gui/gui_element.h" namespace scene { extern GLFWwindow* window; class Game_Over_Scene : public scene::Scene { private: int end_score; scene::Scenes return_value = scene::Scenes::GAMEOVER; std::vector> score_guis_gameOver; std::shared_ptr game_over_texture; public: Game_Over_Scene(int score); Scenes start(GLFWwindow* window) override; void render() override; void update(GLFWwindow* window) override; void onKey(GLFWwindow* window, int key, int scancode, int action, int mods) override; /** * @brief: This method renders the score points onto the game window * @param score: Score to show */ void DrawScore(int score); }; }