preparation of building asset structure

This commit is contained in:
2024-11-14 22:52:54 -05:00
parent fe98627186
commit ea271c25d0
13 changed files with 102 additions and 11 deletions

View File

@@ -1,9 +1,15 @@
use bevy::prelude::Resource;
use bevy::reflect::Reflect;
use serde::{Deserialize, Serialize};
use world_generation::hex_utils::HexCoord;
#[derive(Serialize, Deserialize, Debug)]
#[derive(Serialize, Deserialize, Debug, Reflect)]
pub struct ResourceIdentifier {
pub id: u32,
pub qty: u32,
}
#[derive(Serialize, Deserialize, Debug, Reflect)]
pub struct UnitIdentifier(u32);
#[derive(Serialize, Deserialize, Debug, Reflect)]
pub struct TileIdentifier(u32);