diff options
| author | thecharlesblake | 2017-10-28 15:50:45 +0100 |
|---|---|---|
| committer | thecharlesblake | 2017-10-28 15:50:45 +0100 |
| commit | c2e0bbad760bb95b7967d6df065c46e1aac1270d (patch) | |
| tree | 7817ca61a858e9edf948f861b8d05034a51728c6 /src/main/game_state.h | |
| parent | Modify game state generation to work across sols (diff) | |
| download | metasol-c2e0bbad760bb95b7967d6df065c46e1aac1270d.tar.gz metasol-c2e0bbad760bb95b7967d6df065c46e1aac1270d.zip | |
Add generic state printing
Diffstat (limited to 'src/main/game_state.h')
| -rw-r--r-- | src/main/game_state.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/game_state.h b/src/main/game_state.h index ebcc15f..974fd2a 100644 --- a/src/main/game_state.h +++ b/src/main/game_state.h @@ -30,8 +30,14 @@ private: void move_to_hole(int); bool adjacent(const card& a, const card& b) const; + void print_header(std::ostream&, const char*) const; + void print_foundations(std::ostream&) const; + void print_tableau_piles(std::ostream&) const; + void print_hole(std::ostream&) const; std::vector<std::vector<card> > tableau_piles; + std::vector<card> foundations; + sol_rules rules; card hole_card; mutable bool solved; }; |
