diff options
| author | Charlie Blake | 2018-07-19 17:28:49 +0100 |
|---|---|---|
| committer | Charlie Blake | 2018-07-19 17:28:49 +0100 |
| commit | 0261d129cfc015ca02b9d3db0d421cf1e1afbf77 (patch) | |
| tree | 5aa6d6b946a62b4d0821aa7975c16462465862eb /src/main/game/search-state/game_state.h | |
| parent | Add random gen for Canfield (diff) | |
| download | metasol-0261d129cfc015ca02b9d3db0d421cf1e1afbf77.tar.gz metasol-0261d129cfc015ca02b9d3db0d421cf1e1afbf77.zip | |
Add whole pile legal moves gen
Diffstat (limited to 'src/main/game/search-state/game_state.h')
| -rw-r--r-- | src/main/game/search-state/game_state.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/game/search-state/game_state.h b/src/main/game/search-state/game_state.h index 963f524..2b89d86 100644 --- a/src/main/game/search-state/game_state.h +++ b/src/main/game/search-state/game_state.h @@ -112,6 +112,8 @@ private: void add_built_group_moves(std::vector<move>&) const; void add_built_group_moves(std::vector<move>&, pile::ref, pile::size_type) const; + void add_whole_pile_moves(std::vector<move>&) const; + void add_whole_pile_moves(std::vector<move>&, pile::ref, pile::size_type) const; pile::size_type get_built_group_height(pile::ref) const; bool is_next_built_group_card(card, card) const; void add_empty_built_group_moves(std::vector<move>&, pile::ref, pile::ref, pile::size_type, bool) const; |
