BillySheet/include/gui/gui.hpp
2022-01-24 21:00:25 +01:00

51 lines
740 B
C++

#ifndef BILLYSHEET_GUI_HPP
#define BILLYSHEET_GUI_HPP
#include <filesystem>
#include "gui/menu/menu.hpp"
namespace fs = std::filesystem;
class Controller;
namespace gui {
class GuiData;
namespace menu { class MenuData; }
class Gui final {
private:
GuiData &data;
menu::Menu menu;
const fs::path font;
bool initialized{ false };
void habilete_menu() noexcept;
void adresse_menu() noexcept;
void endurance_menu() noexcept;
void chance_menu() noexcept;
void stat_second_menu() noexcept;
public:
Gui() = delete;
explicit Gui(GuiData &data, menu::MenuData &menuData);
~Gui() noexcept;
void render_gui(const Controller &controller);
void render_gpu() const;
};
}
#endif //BILLYSHEET_GUI_HPP