aboutsummaryrefslogtreecommitdiffstats
path: root/src/chess_piece.cpp
blob: 8d4cb9458c5b0c6c2884693ce7036ed8ec3868e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "chess_piece.hpp"

using namespace ymhChessAI;


// Chess Piece Base class that all the pieces inherit from

ChessPiece::ChessPiece() : m_x(0), m_y(0) {
}

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