aboutsummaryrefslogtreecommitdiffstats
path: root/src/king.cpp
blob: 1d297d377a76427816218242d0f0eaf33fa20beb (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
26
27
28
/*
 *
 * author: Yann Herklotz
 * username: ymherklotz
 * email: ymherklotz@gmail.com
 * date created: 13/01/17
 *
 * -----------------------------------------------------------------------------
 *
 * King class implementation
 *
 */

#include "chess_piece.hpp"
#include <iostream>

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) {
	std::cout << "This is the king" << std::endl;
}