removeAll method

  1. @override
void removeAll(
  1. Iterable<ShapeHitbox> items
)
override

Removes all items from the collision detection, see remove.

Implementation

@override
void removeAll(Iterable<ShapeHitbox> items) {
  broadphase.clear();
  for (final item in items) {
    remove(item);
  }
}