aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/game_state.h
diff options
context:
space:
mode:
authorthecharlesblake2017-11-12 12:26:34 +0000
committerthecharlesblake2017-11-12 12:26:34 +0000
commitf6259b5e0ebf20a3da6683d2e5c6c09fe33e1064 (patch)
tree3de190932a6feb720091b877681cdee031e8b123 /src/main/game/game_state.h
parentSimplify is_solved() (diff)
downloadmetasol-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.h7
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;