Game stats that reset every frame, inspired by immediate mode GUI.
gamedev bevy stats
0
fork

Configure Feed

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

Cleanup `lib.rs`.

+4 -5
+4 -5
immediate_stats/src/lib.rs
··· 5 5 pub mod modifier; 6 6 pub mod stat; 7 7 8 - // Todo Move into internal module called `__internal` like Bevy Butler. 9 - #[cfg(feature = "bevy")] 10 - pub use bevy_app::prelude::PreUpdate; 11 8 pub use immediate_stats_macros::StatContainer; 9 + pub use modifier::*; 10 + pub use stat::*; 12 11 13 12 #[cfg(feature = "bevy")] 14 13 pub use bevy::*; 15 - pub use modifier::*; 16 - pub use stat::*; 14 + #[cfg(feature = "bevy")] 15 + pub use bevy_app::prelude::PreUpdate; 17 16 18 17 /// Types that contain stats that need to be reset. 19 18 ///