diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-02-25 12:59:47 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-02-25 12:59:47 +0000 |
commit | b4336dd8f5bcd7370d9f439ea46829d7fce59e76 (patch) | |
tree | f51149312b636317aa72679879360dea26bab63d /src/rook.cpp | |
parent | b39845e0d36e5806b3f4629b1e5eeca4164572c0 (diff) | |
parent | 4e79ea68d54305e6705a3a8e83a730508b9f1c1b (diff) | |
download | ChessAI-master.tar.gz ChessAI-master.zip |
Diffstat (limited to 'src/rook.cpp')
-rw-r--r-- | src/rook.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/rook.cpp b/src/rook.cpp new file mode 100644 index 0000000..cd72029 --- /dev/null +++ b/src/rook.cpp @@ -0,0 +1,26 @@ +/* + * + * author: Yann Herklotz + * username: ymherklotz + * email: ymherklotz@gmail.com + * date created: 13/01/17 + * + * ----------------------------------------------------------------------------- + * + * Rook class implementation + * + */ + +#include "chess_piece.hpp" + +using namespace ymhChessAI; + + +Rook::Rook() : ChessPiece() { +} + +Rook::Rook(const int& x, const int& y, const Colour& colour) : ChessPiece(x, y, colour) { +} + +void Rook::move(const int& x, const int& y) { +} |