21 lines
351 B
Rust
21 lines
351 B
Rust
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,
|
|
}
|