pub fn use_entity_concept<C: ConceptComponents>(
    hooks: &mut Hooks<'_>,
    id: EntityId
) -> Option<C>
Expand description

Use a concept from an entity in the ECS, and update its state if required.

If the entity does not exist, or does not match the concept, this will return None.