[position] Export Position::active_color()

Passes through to the Board method.
This commit is contained in:
Eryn Wells 2025-06-21 21:08:32 -07:00
parent 4b96db230d
commit 54d9c3838d

View file

@ -53,6 +53,11 @@ impl Position {
pub fn board(&self) -> &Board {
&self.board
}
#[must_use]
pub fn active_color(&self) -> Color {
self.board.active_color()
}
}
impl Position {