use pkecs_core::{schedule::Schedule, world::World};

/// Provides a single entrypoint for injecting functionality into an application.
pub trait Plugin {
    /// Adds the plugin's systems to an application's [`Schedule`].
    fn attach(world: &mut World, schedule: &mut Schedule);
}
