jagua_rs::collision_detection::hazard_filter

Trait HazardFilter

Source
pub trait HazardFilter {
    // Required method
    fn is_irrelevant(&self, entity: &HazardEntity) -> bool;
}
Expand description

Trait that allows for ignoring out specific hazards. Enables querying the CDEngine only for relevant hazards.

Required Methods§

Source

fn is_irrelevant(&self, entity: &HazardEntity) -> bool

Implementors§