diff options
author | zedarider <ymherklotz@gmail.com> | 2016-11-08 23:33:34 +0000 |
---|---|---|
committer | zedarider <ymherklotz@gmail.com> | 2016-11-08 23:33:34 +0000 |
commit | c57aed1a546f0dc0a6efcb06d10125e2dbd34d60 (patch) | |
tree | 1696095c58a30f185c64f53fdfe31e8a15c0750b /include/chess_ai.hpp | |
parent | 451678aa0ac08581d14442967432e4383e1db3f3 (diff) | |
download | ChessAI-c57aed1a546f0dc0a6efcb06d10125e2dbd34d60.tar.gz ChessAI-c57aed1a546f0dc0a6efcb06d10125e2dbd34d60.zip |
managed and going to merge
Diffstat (limited to 'include/chess_ai.hpp')
-rw-r--r-- | include/chess_ai.hpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/include/chess_ai.hpp b/include/chess_ai.hpp index 8c6eb50..efde215 100644 --- a/include/chess_ai.hpp +++ b/include/chess_ai.hpp @@ -102,15 +102,12 @@ iterator vector_iterator; // move a piece from coordinates void move_piece(unsigned x, unsigned y); + void move_piece(unsigned orig_x, unsigned orig_y, unsigned dest_x, + unsigned dest_y); + void move_piece(chess_piece piece, unsigned x, unsigned y); - // find a piece on the board using coordinates - void find_piece(unsigned x, unsigned y); - - // iterate through the list with point - void iterate_board(chess_piece piece, square_iterator& it); - // iterate through the list and return the pointer to change - void iterate_board(unsigned x, unsigned y, square_iterator& it); + square_iterator& iterate_board(square_iterator& it, unsigned x, unsigned y); |