collidingWith method
Whether the object is colliding with other
or not.
Implementation
@override
bool collidingWith(PositionComponent other) {
return _activeCollisions != null && activeCollisions.contains(other);
}
Whether the object is colliding with other
or not.
@override
bool collidingWith(PositionComponent other) {
return _activeCollisions != null && activeCollisions.contains(other);
}