/// Retrieves the position of an entity.
Retrieves the position of an entity.
Retrieves the position of an entity .
pub fn entity_pos(world: &World, entity: Entity) -> Position {
    world
        .read_component::<PositionComponent>()
        .get(entity)
        .unwrap()
        .current
}
pub fn entity_pos ( world : & World , entity : Entity ) -> Position { world . read_component :: < PositionComponent > ( ) . get ( entity ) . unwrap ( ) . current }
Retrieves the position of an entity.
Retrieves the position of an entity .
world
&World
entity
Entity