aboutsummaryrefslogtreecommitdiffstats
path: root/src/chess_piece.cpp
blob: 626377ec0676c96e44a9a3dff6de6fa7d3b9cb15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 *
 * author: Yann Herklotz
 * username: ymherklotz
 * email: ymherklotz@gmail.com
 * date created: 13/01/17
 *
 * -----------------------------------------------------------------------------
 *
 * Chess Piece class implementation
 *
 */

#include "chess_piece.hpp"

using namespace ymhChessAI;


ChessPiece::ChessPiece() : m_x(0), m_y(0), m_colour(Colour::White) {
}

ChessPiece::ChessPiece(const int& x, const int& y, const Colour& colour) : m_x(x), m_y(y), m_colour(colour) {
}