Move buildings and units under skirmish_states

Reorganize the codebase by moving the buildings and units modules
into the skirmish_states namespace, updating imports accordingly.
This commit is contained in:
2026-04-19 18:02:36 +02:00
parent 6a43b28e67
commit 54e86b2688
8 changed files with 4 additions and 6 deletions
@@ -0,0 +1,17 @@
use crate::app::states::Players;
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct MinerUnit {
owner: Players,
tag: &'static str,
}
impl MinerUnit {
pub fn new(owner: Players) -> Self {
Self { owner, tag: "M" }
}
pub fn get_tag(self) -> &'static str {
self.tag
}
}