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,6 +1,7 @@
use bevy::reflect::Reflect;
use serde::{Deserialize, Serialize};
#[derive(Default, PartialEq, Eq, Serialize, Deserialize)]
#[derive(Default, Reflect, Debug, PartialEq, Eq, Serialize, Deserialize)]
pub struct BuildingIdentifier(pub usize);
impl From<i32> for BuildingIdentifier {