BillySheet/include/controller.hpp

29 lines
535 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;
void control() noexcept;
2022-01-17 19:57:00 +01:00
};
#endif //BILLYSHEET_CONTROLLER_HPP