collidingWith method
Whether the object is colliding with other
or not.
Implementation
bool collidingWith(T other) {
return _activeCollisions?.contains(other) ?? false;
}
Whether the object is colliding with other
or not.
bool collidingWith(T other) {
return _activeCollisions?.contains(other) ?? false;
}