diff options
| author | thecharlesblake | 2017-11-12 12:26:34 +0000 |
|---|---|---|
| committer | thecharlesblake | 2017-11-12 12:26:34 +0000 |
| commit | f6259b5e0ebf20a3da6683d2e5c6c09fe33e1064 (patch) | |
| tree | 3de190932a6feb720091b877681cdee031e8b123 /src/main/game/game_state.h | |
| parent | Simplify is_solved() (diff) | |
| download | metasol-f6259b5e0ebf20a3da6683d2e5c6c09fe33e1064.tar.gz metasol-f6259b5e0ebf20a3da6683d2e5c6c09fe33e1064.zip | |
Refactor and improve state printing
Diffstat (limited to 'src/main/game/game_state.h')
| -rw-r--r-- | src/main/game/game_state.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/game/game_state.h b/src/main/game/game_state.h index 26d2650..6b2af7d 100644 --- a/src/main/game/game_state.h +++ b/src/main/game/game_state.h @@ -34,11 +34,10 @@ private: static std::vector<card> shuffled_deck(int, int); void print_header(std::ostream&, const char*) const; - void print_foundations(std::ostream&) const; - void print_cells(std::ostream&) const; - void print_tableau_piles(std::ostream&) const; - void print_hole(std::ostream&) const; + void print_piles(std::ostream&, const std::vector<pile>&) const; void print_pile(std::ostream&, const pile&) const; + void print_top_of_piles(std::ostream&, const std::vector<pile>&) const; + void print_top_of_pile(std::ostream&, const pile&) const; std::vector<pile> foundations; std::vector<pile> cells; |
