[board] Reorganize bitboard and position modules and export some symbols from the crate
Move position.rs to the position module and create a mod.rs. Do the same for bitboard.rs in the bitboard modules. Export Color, Piece, Position, and Square and use crate::Thing directly instead of referring to the symbol in the nested modules.
This commit is contained in:
parent
d2d33a4915
commit
758a3d95fc
7 changed files with 32 additions and 18 deletions
|
@ -3,3 +3,7 @@ mod neighbor;
|
|||
mod piece;
|
||||
mod position;
|
||||
mod square;
|
||||
|
||||
pub use piece::{Color, Piece};
|
||||
pub use position::Position;
|
||||
pub use square::Square;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue