![]() |
Cluedo Solver v1.0
Cluedo game solver making deductions.
|
A modal used to add information to the solver. More...
#include <AddInformationModal.hpp>
Public Member Functions | |
AddInformationModal (std::function< void(std::string &&, Solver &&)> on_learn_callback) | |
void | reset () |
void | show (Solver &solver) |
A modal used to add information to the solver.
This modal is split in two tabs as there are two types of information that can be learnt during a game:
|
inlineexplicit |
Constructs the modal.
on_learn_callback | The function to be called when the information is learnt succesfully. |
void Cluedo::UI::AddInformationModal::reset | ( | ) |
Resets the modal data.
void Cluedo::UI::AddInformationModal::show | ( | Solver & | solver | ) |
Shows the modal.
solver | The solver that contains the game data. |