building queue

This commit is contained in:
2024-06-28 20:28:57 -04:00
parent daa2f0bcc9
commit 805f50e40f
5 changed files with 28 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
use shared::building::BuildingIdentifier;
use world_generation::hex_utils::HexCoord;
pub struct BuildQueue {
pub queue: Vec<QueueEntry>,
}
impl Default for BuildQueue {
fn default() -> Self {
Self {
queue: Default::default(),
}
}
}
#[derive(PartialEq, Eq)]
pub struct QueueEntry {
pub building: BuildingIdentifier,
pub pos: HexCoord,
}