diff options
| author | thecharlesblake | 2017-10-28 16:07:13 +0100 |
|---|---|---|
| committer | thecharlesblake | 2017-10-28 16:07:13 +0100 |
| commit | 215496d51c6663dd12c4ffb51521f00a8bf9fcbe (patch) | |
| tree | 94f93b9258b31a7e1e6b61ed9370dc6bbcd482ea /src/main/sol_rules.h | |
| parent | Add generic state printing (diff) | |
| download | metasol-215496d51c6663dd12c4ffb51521f00a8bf9fcbe.tar.gz metasol-215496d51c6663dd12c4ffb51521f00a8bf9fcbe.zip | |
Add build order to game rules class
Diffstat (limited to 'src/main/sol_rules.h')
| -rw-r--r-- | src/main/sol_rules.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/main/sol_rules.h b/src/main/sol_rules.h index 83bbfb2..56701c7 100644 --- a/src/main/sol_rules.h +++ b/src/main/sol_rules.h @@ -9,12 +9,22 @@ #include <string> struct sol_rules { - static enum class valid_sol; + enum class valid_sol { + BLACK_HOLE, + SIMPLE_BLACK_HOLE, + SPANISH_PATIENCE + }; + enum class tab_build_order { + NO_BUILD, + DESCENDING, + }; + static std::vector<std::string> valid_sol_strs; sol_rules(std::string); int tableau_pile_count; + tab_build_order build_order; int max_rank; bool hole; bool foundations; |
