25 : m_on_solver_created_callback(on_solver_created_callback) {}
34 void show_number_of_players_input();
35 void show_players_section();
38 std::size_t m_player_count;
39 std::vector<PlayerData> m_players;
40 std::function<void(
Solver&&)> m_on_solver_created_callback;
The file that contains the definition of the Cluedo::UI::ErrorModal class.
The file that contains the definition of the Cluedo::Solver class.
The solver of a Cluedo game.
Definition Solver.hpp:24
A modal used to show an error message.
Definition ErrorModal.hpp:13
void reset()
Definition NewGameModal.cpp:13
NewGameModal(std::function< void(Solver &&)> on_solver_created_callback)
Definition NewGameModal.hpp:24
void show()
Shows the modal.
Definition NewGameModal.cpp:23