diff options
| author | thecharlesblake | 2017-10-28 22:21:03 +0100 |
|---|---|---|
| committer | thecharlesblake | 2017-10-28 22:21:03 +0100 |
| commit | c3e6f892599f145c14317e5712263b3e5562b785 (patch) | |
| tree | 05df02feec122f24ba8f8086b16ac7d8b3178a45 /src/main/game_state.h | |
| parent | Add build order to game rules class (diff) | |
| download | metasol-c3e6f892599f145c14317e5712263b3e5562b785.tar.gz metasol-c3e6f892599f145c14317e5712263b3e5562b785.zip | |
Add generic solving and pile class
Diffstat (limited to 'src/main/game_state.h')
| -rw-r--r-- | src/main/game_state.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/game_state.h b/src/main/game_state.h index 974fd2a..c5d4f96 100644 --- a/src/main/game_state.h +++ b/src/main/game_state.h @@ -13,6 +13,7 @@ #include "card.h" #include "sol_rules.h" +#include "pile.h" class game_state { public: @@ -35,11 +36,10 @@ private: void print_tableau_piles(std::ostream&) const; void print_hole(std::ostream&) const; - std::vector<std::vector<card> > tableau_piles; - std::vector<card> foundations; + std::vector<pile> tableau_piles; + std::vector<pile> foundations; + pile hole; sol_rules rules; - card hole_card; - mutable bool solved; }; |
