collidingWith method

  1. @override
bool collidingWith(
  1. PositionComponent other
)
override

Whether the object is colliding with other or not.

Implementation

@override
bool collidingWith(PositionComponent other) {
  return _activeCollisions != null && activeCollisions.contains(other);
}