[core,board] Move board::piece to core
Break up types in core into finer grained modules. Update all the imports.
This commit is contained in:
parent
6f85305912
commit
8b2a3926b3
25 changed files with 235 additions and 227 deletions
|
@ -4,13 +4,12 @@ pub mod fen;
|
|||
|
||||
mod display;
|
||||
mod r#move;
|
||||
#[macro_use]
|
||||
mod macros;
|
||||
mod move_generator;
|
||||
pub mod piece;
|
||||
mod position;
|
||||
mod sight;
|
||||
|
||||
pub use piece::{Color, Piece};
|
||||
#[macro_use]
|
||||
mod macros;
|
||||
|
||||
pub use position::{MoveBuilder as MakeMoveBuilder, Position, PositionBuilder};
|
||||
pub use r#move::{Castle, MakeMoveError, Move, MoveBuilder};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue