diff options
Diffstat (limited to 'src/king.cpp')
-rw-r--r-- | src/king.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/king.cpp b/src/king.cpp new file mode 100644 index 0000000..0f332b7 --- /dev/null +++ b/src/king.cpp @@ -0,0 +1,25 @@ +/* + * + * author: Yann Herklotz + * username: ymherklotz + * email: ymherklotz@gmail.com + * + * ----------------------------------------------------------------------------- + * + * King class implementation + * + */ + +#include "chess_piece.hpp" + +using namespace ymhChessAI; + + +King::King() : ChessPiece() { +} + +King::King(const int& x, const int& y) : ChessPiece(x, y) { +} + +void King::move(const int& x, const int& y) { +} |