pub fn register_components(world: &mut World) {
    world.register::<Player>();
    world.register::<Sprite>();
    world.register::<Directional>();
    world.register::<CollisionState>();
    world.register::<GuardAi>();
}
/// Registers all the components from this module to the given world
Registers all the components from this module to the given world
Registers all the components from this module to the given world
pub fn register_components(world: &mut World) {
    world.register::<Player>();
    world.register::<Sprite>();
    world.register::<Directional>();
    world.register::<CollisionState>();
    world.register::<GuardAi>();
}
pub fn register_components ( world : & mut World ) { world . register :: < Player > ( ) ; world . register :: < Sprite > ( ) ; world . register :: < Directional > ( ) ; world . register :: < CollisionState > ( ) ; world . register :: < GuardAi > ( ) ; }
Registers all the components from this module to the given world
Registers all the components from this module to the given world
world
&mut World
world
&mut World