blob: 8e8a6b922a8d7936a8746a5c5384f165aa58efd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*
*
* author: Yann Herklotz
* username: ymherklotz
* email: ymherklotz@gmail.com
*
* -----------------------------------------------------------------------------
*
* King class implementation
*
*/
#include "chess_piece.hpp"
using namespace ymhChessAI;
King::King() : ChessPiece() {
}
King::King(const int& x, const int& y, const Colour& colour) : ChessPiece(x, y, colour) {
}
void King::move(const int& x, const int& y) {
}
|