Files
phos-neo/game/shared/src/lib.rs
Amatsugu 953650e394 prefab loading
Building prefab loading
2024-11-18 22:35:18 -05:00

36 lines
616 B
Rust

use bevy::reflect::Reflect;
use serde::{Deserialize, Serialize};
pub mod building;
pub mod despawn;
pub mod events;
pub mod identifiers;
pub mod resources;
pub mod sets;
pub mod states;
pub mod tags;
pub mod prefab_defination;
#[derive(Debug, Serialize, Deserialize)]
pub enum Tier {
Zero,
One,
Two,
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),
}