added parameterless constructor for struct MoveBuffer

This commit is contained in:
Varga Dávid Lajos
2025-11-19 15:22:15 +01:00
parent a60658763d
commit 85a7fa37ef

View File

@@ -4,4 +4,14 @@ pub struct MoveBuffer {
buffer: [BitMove; 256], buffer: [BitMove; 256],
count: usize count: usize
}
impl MoveBuffer {
pub fn new() -> Self {
return Self {
buffer: [BitMove::quiet(0, 0, None); 256],
count: 0
};
}
} }