Files
phos-neo/game/shared/src/lib.rs
Amatsugu ebae1599f1
Some checks failed
Rust / build (push) Failing after 4s
building spawning update
2026-03-18 15:15:11 -04:00

41 lines
688 B
Rust

use bevy::reflect::Reflect;
use serde::{Deserialize, Serialize};
pub mod animation_plugin;
pub mod building;
pub mod component_defination;
pub mod coords;
pub mod despawn;
pub mod events;
pub mod identifiers;
pub mod prefab_defination;
pub mod resources;
pub mod sets;
pub mod states;
pub mod tags;
#[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),
}