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/pawn.cpp | |
parent | 6fc3dfc10ce0e690b0de9c811e617dc76104db40 (diff) | |
download | ChessAI-a5bc94a36fe37fb20eba61516da3b6b58208537b.tar.gz ChessAI-a5bc94a36fe37fb20eba61516da3b6b58208537b.zip |
added colour to pieces and comments
Diffstat (limited to 'src/pawn.cpp')
-rw-r--r-- | src/pawn.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pawn.cpp b/src/pawn.cpp index c1f172f..e81959f 100644 --- a/src/pawn.cpp +++ b/src/pawn.cpp @@ -18,7 +18,7 @@ using namespace ymhChessAI; Pawn::Pawn() : ChessPiece() { } -Pawn::Pawn(const int& x, const int& y) : ChessPiece(x, y) { +Pawn::Pawn(const int& x, const int& y, const Colour& colour) : ChessPiece(x, y, colour) { } void Pawn::move(const int& x, const int& y) { |