From 797400ea32ac1f6588e834fc1bcb42aa67fa6863 Mon Sep 17 00:00:00 2001 From: Charlie Blake Date: Tue, 26 Jun 2018 10:37:54 +0100 Subject: Finished klondike correct impl --- src/main/game/move.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/main/game/move.h') diff --git a/src/main/game/move.h b/src/main/game/move.h index 1e3a9d1..8651d1e 100644 --- a/src/main/game/move.h +++ b/src/main/game/move.h @@ -10,13 +10,16 @@ struct move { enum class mtype : uint8_t {regular, dominance, built_group, stock_to_waste, stock_to_tableau, redeal, null}; - explicit move(mtype, pile::ref = 255 , pile::ref = 255, pile::size_type = 1); + explicit move(mtype, pile::ref = 255 , pile::ref = 255, pile::size_type = 1, bool reveal_move_ = false); friend bool operator==(const move&, const move&); + void make_reveal_move(); + mtype type; pile::ref from; pile::ref to; pile::size_type count; + bool reveal_move; }; #endif //SOLVITAIRE_MOVE_H -- cgit v1.2.1