aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/game_state.h
diff options
context:
space:
mode:
authorCharlie Blake2018-02-24 11:12:45 +0000
committerGitHub2018-02-24 11:12:45 +0000
commit2db3586f42af5174a14e8a6f693334f3f4f75e14 (patch)
tree4983a8a72065056e693b418510e64abdbdb0f2b7 /src/main/game/game_state.h
parentMerge pull request #40 from thecharlesblake/test-optimisations (diff)
parentAdd card just moved optimisation to game logic (diff)
downloadmetasol-2db3586f42af5174a14e8a6f693334f3f4f75e14.tar.gz
metasol-2db3586f42af5174a14e8a6f693334f3f4f75e14.zip

Merge pull request #41 from thecharlesblake/profile-improve

Profile improve

Diffstat (limited to 'src/main/game/game_state.h')
-rw-r--r--src/main/game/game_state.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/game/game_state.h b/src/main/game/game_state.h
index b403bc7..aeabc10 100644
--- a/src/main/game/game_state.h
+++ b/src/main/game/game_state.h
@@ -49,7 +49,11 @@ public:
void place_card(pile_ref, card);
card take_card(pile_ref);
- std::vector<move> get_legal_moves();
+ std::vector<move> get_legal_moves(
+#ifndef NO_CARD_JUST_MOVED
+ move
+#endif
+ );
// Inspects state
bool is_solved() const;