Refactor buildings/units, move CellTag & Players

Introduce BaseBuilding struct. Rename Building and Unit to enum types
(Buildings, Units). Move CellTag and Players enums to the skirmish state
module and update imports and re‑exports accordingly. Add placeholder
miner module.
This commit is contained in:
GarandPLG committed 2026-04-15 13:21:39 +02:00
1 parent 44d29bd3ad
commit be41936f14
11 files changed
+38 -26

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
use crate::app::{
helpers::{CellSizes, cell_size_helper, cells_area_helper},
states::{FocusedCell, Offset, ZoomLevel, skirmish_states::MoveFocusedCell},
widgets::{CellTag, CellWidget, Players},
states::{CellTag, FocusedCell, Offset, Players, ZoomLevel, skirmish_states::MoveFocusedCell},
widgets::CellWidget,
};
use ratatui::layout::Rect;