aboutsummaryrefslogtreecommitdiffstats
path: root/src/chess_piece.cpp
blob: ee307e29c19034b343b9fdab4c31f1de1ecb6a9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 *
 * author: Yann Herklotz
 * username: ymherklotz
 * email: ymherklotz@gmail.com
 *
 * -----------------------------------------------------------------------------
 *
 * 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) {
}