diff options
Diffstat (limited to 'src/helper.hpp')
-rw-r--r-- | src/helper.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/helper.hpp b/src/helper.hpp index b56dc30..f7d6b8d 100644 --- a/src/helper.hpp +++ b/src/helper.hpp @@ -117,9 +117,10 @@ canMovePiece(std::shared_ptr<struct piece_t> piece, std::shared_ptr<std::vector<struct piece_t>> myPieces, std::shared_ptr<std::vector<struct piece_t>> enemyPieces); -std::vector<int> -getLegalMoves(std::shared_ptr<struct player_t> activePlayer, - std::shared_ptr<struct player_t> opponent); +bool +hasMoves(std::shared_ptr<struct player_t> activePlayer, + std::shared_ptr<struct player_t> opponent, + int roll); sf::Vector2f pos(float c, float r); |