diff options
Diffstat (limited to 'src/board.rs')
-rw-r--r-- | src/board.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/board.rs b/src/board.rs index 991820a..13f86ec 100644 --- a/src/board.rs +++ b/src/board.rs @@ -6,7 +6,7 @@ pub struct Board { } -enum PieceTypes { +pub enum PieceTypes { Pawn, PawnBlack, Knight, @@ -107,14 +107,14 @@ impl Board { } -enum Color { +pub enum Color { White, Black, } /// Aliases to board square indexes #[allow(dead_code)] -enum Square { +pub enum Square { A1, B1, C1, D1, E1, F1, G1, H1, A2, B2, C2, D2, E2, F2, G2, H2, A3, B3, C3, D3, E3, F3, G3, H3, |