An experimental, status effects-as-entities system for Bevy.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Added reflection to `StatusEffect` trait.

+2 -1
+2 -1
bevy_status_effects/src/lib.rs
··· 13 13 14 14 use crate::timer::{Delay, Lifetime}; 15 15 pub use bevy_app::Startup; 16 - use bevy_reflect::Reflect; 16 + use bevy_reflect::{Reflect, reflect_trait}; 17 17 pub use bevy_status_effects_macros::StatusEffect; 18 18 19 19 pub struct StatusEffectPlugin; ··· 32 32 } 33 33 } 34 34 35 + #[reflect_trait] 35 36 pub trait StatusEffect {} 36 37 37 38 /// Describes the logic used when multiple of the same effect are applied to the same entity.