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,3 +1,4 @@
use bevy::reflect::Reflect;
use serde::{Deserialize, Serialize};
pub mod building;
@@ -17,3 +18,17 @@ pub enum Tier {
Three,
Superior,
}
#[derive(Serialize, Deserialize, Debug, Reflect)]
pub enum StatusEffect {
UnitRange(f32),
UnitAttack(f32),
UnitHealth(f32),
StructureRange(f32),
StructureAttack(f32),
StructureHealth(f32),
BuildSpeedMulti(f32),
BuildCostMulti(f32),
ConsumptionMulti(f32),
ProductionMulti(f32),
}