Add Building and Unit structs, extend CellWidget

Introduce empty Building and Unit types and expose them
through new modules. Extend CellWidget to store optional
Unit and Building, update its constructor, and adjust board
rendering to create cells with these new fields (currently always None).
This commit is contained in:
GarandPLG committed 2026-04-13 21:27:44 +02:00
1 parent 1393f282e8
commit 44d29bd3ad
7 files changed
+26 -4

No files matched your search

+2
View File
@@ -1,10 +1,12 @@
pub mod app;
pub mod buildings;
pub mod helpers;
pub mod keybind;
pub mod keybindings;
pub mod state;
pub mod states;
pub mod threads;
pub mod units;
pub mod view;
pub mod views;
pub mod widgets;