BillySheet/include/controller.hpp

31 lines
584 B
C++
Raw Normal View History

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