summaryrefslogtreecommitdiff
path: root/src/Piece.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Piece.hpp')
-rw-r--r--src/Piece.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Piece.hpp b/src/Piece.hpp
index 7469ee2..60452dd 100644
--- a/src/Piece.hpp
+++ b/src/Piece.hpp
@@ -16,9 +16,9 @@ namespace chessarbiter {
*/
class Piece {
public:
+ char piece;
bool isBlack;
std::string coord;
- char piece;
Piece(char c, const std::string &coord);
/// @brief Get all possible moves according to the type of piece and its position
std::vector<std::string> GetMoves();