diff options
Diffstat (limited to 'src/moves.rs')
-rw-r--r-- | src/moves.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/moves.rs b/src/moves.rs index 66a3be1..87b7c4b 100644 --- a/src/moves.rs +++ b/src/moves.rs @@ -1,4 +1,4 @@ -use crate::{square::Square, bitboard::print}; +use crate::{square::Square, bitboard::print, board::PieceType}; #[derive(Debug, Clone, PartialEq, Eq, Copy)] pub enum MoveKind { @@ -7,6 +7,7 @@ pub enum MoveKind { Castle, EnPassant, DoublePush, + Promotion(PieceType), } #[derive(Debug, Clone, Copy, PartialEq, Eq)] |