pub fn add_component_to_entity( world: &mut GameWorld, entity: EntityId, type_name: &str, )
Adds a new component to an existing entity by dispatching through the inventory registry.