[position] Remove move_generator::MoveListSet
This commit is contained in:
parent
8aa44e56f2
commit
9c4360c886
1 changed files with 0 additions and 12 deletions
|
@ -10,18 +10,6 @@ struct BitBoardSet {
|
|||
captures: BitBoard,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
struct MoveListSet {
|
||||
quiet: Vec<Move>,
|
||||
captures: Vec<Move>,
|
||||
}
|
||||
|
||||
impl MoveListSet {
|
||||
pub fn contains(&self, mv: &Move) -> bool {
|
||||
self.quiet.contains(mv) || self.captures.contains(mv)
|
||||
}
|
||||
}
|
||||
|
||||
/// A set of moves for a piece on the board.
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
pub(crate) struct MoveSet {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue