collisionDetection property

CollisionDetection<ShapeHitbox, Broadphase<ShapeHitbox>> get collisionDetection
inherited

Implementation

CollisionDetection<ShapeHitbox, B> get collisionDetection =>
    _collisionDetection;
set collisionDetection (CollisionDetection<ShapeHitbox, Broadphase<ShapeHitbox>> cd)
inherited

Implementation

set collisionDetection(CollisionDetection<ShapeHitbox, B> cd) {
  cd.addAll(_collisionDetection.items);
  _collisionDetection = cd;
}