From a5bc94a36fe37fb20eba61516da3b6b58208537b Mon Sep 17 00:00:00 2001 From: ymherklotz Date: Sat, 14 Jan 2017 14:17:26 +0000 Subject: added colour to pieces and comments --- src/knight.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/knight.cpp') diff --git a/src/knight.cpp b/src/knight.cpp index c40921f..5c2a946 100644 --- a/src/knight.cpp +++ b/src/knight.cpp @@ -18,7 +18,7 @@ using namespace ymhChessAI; Knight::Knight() : ChessPiece() { } -Knight::Knight(const int& x, const int& y) : ChessPiece(x, y) { +Knight::Knight(const int& x, const int& y, const Colour& colour) : ChessPiece(x, y, colour) { } void Knight::move(const int& x, const int& y) { -- cgit