Trait broccoli::query::CollisionHandler[][src]

pub trait CollisionHandler {
    type T: Aabb;
    fn collide(&mut self, a: PMut<'_, Self::T>, b: PMut<'_, Self::T>);
}
Expand description

Used for the advanced algorithms. Trait that user implements to handling aabb collisions. The user supplies a struct that implements this trait instead of just a closure so that the user may also have the struct implement Splitter.

Associated Types

Required methods

Implementors