aboutsummaryrefslogtreecommitdiff
path: root/src/main/game_state.h
diff options
context:
space:
mode:
authorthecharlesblake2017-10-28 22:21:03 +0100
committerthecharlesblake2017-10-28 22:21:03 +0100
commitc3e6f892599f145c14317e5712263b3e5562b785 (patch)
tree05df02feec122f24ba8f8086b16ac7d8b3178a45 /src/main/game_state.h
parentAdd build order to game rules class (diff)
downloadmetasol-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.h8
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;
};