use bevy_fnplugins::FnPluginsExt; use bevy::prelude::*; mod combat; mod health; use self::{combat::combat_plugin, health::health_plugin}; pub struct PlayerPlugin; impl Plugin for PlayerPlugin { fn build(&self, app: &mut App) { app.fn_plugins((combat_plugin, health_plugin)); } }