BillySheet/include/controller.hpp

32 lines
612 B
C++
Raw Normal View History

2022-01-17 19:57:00 +01:00
#ifndef BILLYSHEET_CONTROLLER_HPP
#define BILLYSHEET_CONTROLLER_HPP
namespace character {
2024-01-28 20:31:50 +01:00
class CharacterSheet;
}
2022-01-17 19:57:00 +01:00
namespace gui::menu {
2024-01-28 20:31:50 +01:00
class MenuData;
}
2022-01-17 19:57:00 +01:00
class Controller final {
private:
2024-01-28 20:31:50 +01:00
character::CharacterSheet &sheet;
gui::menu::MenuData &menu_data;
public:
2024-01-28 20:31:50 +01:00
Controller() = delete;
2024-01-28 20:31:50 +01:00
explicit Controller(character::CharacterSheet &sheet, gui::menu::MenuData &menuData) :
sheet(sheet), menu_data(menuData) {}
2024-01-28 20:31:50 +01:00
~Controller() noexcept = default;
2024-01-28 20:31:50 +01:00
void control_menu() const noexcept;
2022-01-20 22:30:14 +01:00
2024-01-28 20:31:50 +01:00
void control_sheet() const noexcept;
2022-01-17 19:57:00 +01:00
};
#endif //BILLYSHEET_CONTROLLER_HPP