BillySheet/include/controller.hpp

31 lines
572 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;
2022-01-20 23:16:51 +01:00
gui::menu::MenuData &menu_data;
public:
Controller() = delete;
2022-01-20 23:16:51 +01:00
explicit Controller(character::CharacterSheet &sheet, 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