[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
|
@ -1,3 +1,12 @@
|
|||
mod coordinates;
|
||||
// Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
pub mod colors;
|
||||
pub mod coordinates;
|
||||
pub mod errors;
|
||||
pub mod pieces;
|
||||
|
||||
mod macros;
|
||||
|
||||
pub use colors::Color;
|
||||
pub use coordinates::{Direction, File, Rank, Square};
|
||||
pub use pieces::{Piece, PlacedPiece, Shape};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue