diff options
author | ymherklotz <ymherklotz@gmail.com> | 2017-01-14 14:17:26 +0000 |
---|---|---|
committer | ymherklotz <ymherklotz@gmail.com> | 2017-01-14 14:17:26 +0000 |
commit | a5bc94a36fe37fb20eba61516da3b6b58208537b (patch) | |
tree | 30ba838ba6ece239c006dfae6db21d085df81832 /src/king.cpp | |
parent | 6fc3dfc10ce0e690b0de9c811e617dc76104db40 (diff) | |
download | ChessAI-a5bc94a36fe37fb20eba61516da3b6b58208537b.tar.gz ChessAI-a5bc94a36fe37fb20eba61516da3b6b58208537b.zip |
added colour to pieces and comments
Diffstat (limited to 'src/king.cpp')
-rw-r--r-- | src/king.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/king.cpp b/src/king.cpp index 0f332b7..8e8a6b9 100644 --- a/src/king.cpp +++ b/src/king.cpp @@ -18,7 +18,7 @@ using namespace ymhChessAI; King::King() : ChessPiece() { } -King::King(const int& x, const int& y) : ChessPiece(x, y) { +King::King(const int& x, const int& y, const Colour& colour) : ChessPiece(x, y, colour) { } void King::move(const int& x, const int& y) { |