Files
phos-neo/game/shared/src/lib.rs
Amatsugu 945bb8c4de
Some checks failed
Rust / build (push) Failing after 4s
Implement coords collection + footprint neightbors
2026-03-13 23:19:33 -04:00

41 lines
697 B
Rust

use bevy::reflect::Reflect;
use serde::{Deserialize, Serialize};
pub mod building;
pub mod coords;
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;
// pub mod animation_plugin;
// pub mod component_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),
}