From f6259b5e0ebf20a3da6683d2e5c6c09fe33e1064 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Sun, 12 Nov 2017 12:26:34 +0000 Subject: Refactor and improve state printing --- src/main/game/game_state.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/main/game/game_state.h') 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 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&) const; void print_pile(std::ostream&, const pile&) const; + void print_top_of_piles(std::ostream&, const std::vector&) const; + void print_top_of_pile(std::ostream&, const pile&) const; std::vector foundations; std::vector cells; -- cgit v1.2.1