summaryrefslogtreecommitdiff
path: root/helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'helper.h')
-rw-r--r--helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/helper.h b/helper.h
index 69b37ad..8626e23 100644
--- a/helper.h
+++ b/helper.h
@@ -35,10 +35,10 @@ loadTextures(const char* path);
sf::Font loadFont();
std::shared_ptr<struct player_t>
-createPlayer(sf::Texture pieceTexture);
+createPlayer(sf::Texture& pieceTexture);
std::shared_ptr<struct piece_t>
-createPiece(int id, sf::Texture texture);
+createPiece(int id, sf::Texture& texture);
bool
clickedPiece(sf::Vector2i mousePosition, std::shared_ptr<struct piece_t> piece);