diff options
| author | thecharlesblake | 2018-02-01 12:59:29 +0000 |
|---|---|---|
| committer | thecharlesblake | 2018-02-01 12:59:29 +0000 |
| commit | fff4e0472b422e09f176c1deffdf4f0a30b15f4c (patch) | |
| tree | c81180e672660fe4ac7c1071b965e9663aaef63e /src/main/game/game_state.h | |
| parent | Change pile comp ops to assess size first (diff) | |
| download | metasol-fff4e0472b422e09f176c1deffdf4f0a30b15f4c.tar.gz metasol-fff4e0472b422e09f176c1deffdf4f0a30b15f4c.zip | |
Remove order on cache flag from game state
Diffstat (limited to 'src/main/game/game_state.h')
| -rw-r--r-- | src/main/game/game_state.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/game/game_state.h b/src/main/game/game_state.h index 532eefc..27cb2c0 100644 --- a/src/main/game/game_state.h +++ b/src/main/game/game_state.h @@ -22,6 +22,7 @@ class game_state { friend class predicate; friend class hasher; friend class global_cache; + friend class cached_game_state; public: // Defines types typedef uint8_t pile_ref; @@ -58,11 +59,9 @@ private: // Private constructor explicit game_state(const sol_rules&); -#ifndef ORDER_ON_CACHE // Used to maintain pile order invariant void eval_pile_order(pile_ref, bool); void eval_pile_order(std::list<pile_ref>&, pile_ref, bool); -#endif // Used in get_legal_moves() move get_stock_tableau_move() const; |
