add missing pub use in engiens
This commit is contained in:
1 parent
6c0453cce3
commit
54c458296d
3 files changed
+3
-1
No files matched your search
@@ -8,7 +8,7 @@ pub const START_BOARD: Board<1> = Board::from_layers([
|
|||||||
[0xffff << 48, 0xffff],
|
[0xffff << 48, 0xffff],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
struct Breakthrough{
|
pub struct Breakthrough{
|
||||||
board: Board<1>,
|
board: Board<1>,
|
||||||
side: Color,
|
side: Color,
|
||||||
legal_moves: Option<HashMap<Move, MaskPatch>>,
|
legal_moves: Option<HashMap<Move, MaskPatch>>,
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
mod breakthrough;
|
mod breakthrough;
|
||||||
|
pub use breakthrough::Breakthrough;
|
||||||
@@ -2,6 +2,7 @@ pub mod board;
|
|||||||
pub use board::*;
|
pub use board::*;
|
||||||
|
|
||||||
mod engines;
|
mod engines;
|
||||||
|
pub use engines::*;
|
||||||
|
|
||||||
pub trait ChessEngine {
|
pub trait ChessEngine {
|
||||||
// fn new() -> Self;
|
// fn new() -> Self;
|
||||||
|
|||||||
Reference in new issue
Block a user