diff options
author | Stephen Enders <smenders@gmail.com> | 2021-01-27 20:45:23 -0500 |
---|---|---|
committer | Stephen Enders <smenders@gmail.com> | 2021-01-27 20:45:23 -0500 |
commit | 100907bd56b18c50aab9efb10700956b8c164c05 (patch) | |
tree | deb1ffffc9b90aa6b993978f83faa91b7fa2ca0d /src/helper.hpp | |
parent | a408a43cd105b89a8d44292e2ef69802a5660497 (diff) |
Move board to use piece_t
Since we need to know what "position" a piece is placed in reuse the
piece struct to track the board placement.
Diffstat (limited to 'src/helper.hpp')
-rw-r--r-- | src/helper.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper.hpp b/src/helper.hpp index 3e7ffbb..9495791 100644 --- a/src/helper.hpp +++ b/src/helper.hpp @@ -63,7 +63,7 @@ struct dice_t std::shared_ptr<std::vector<sf::Texture>> loadTextures(const char* path); -std::shared_ptr<std::vector<sf::Sprite>> +std::shared_ptr<std::vector<struct piece_t>> createBoard(std::shared_ptr<std::vector<sf::Texture>> textures); sf::Font |