Move ZoomLevel into skirmish_states

Introduce Structure and Unit traits with enum wrappers.
Replace old zoom helper with ZoomLevel methods.
Update imports, BoardState, CellWidget, and CLI to use new locations.
This commit is contained in:
2026-04-20 12:17:56 +02:00
parent a04264c08b
commit 06a439ff88
20 changed files with 242 additions and 140 deletions
+2
View File
@@ -3,7 +3,9 @@ mod focused_cell;
mod offset;
pub mod structures;
pub mod units;
pub mod zoom_level;
pub use board::BoardState;
pub use focused_cell::{FocusedCell, MoveFocusedCell};
pub use offset::Offset;
pub use zoom_level::{CellSizes, ZoomLevel};