collisionDetection property

CollisionDetection<ShapeHitbox, B> get collisionDetection

Implementation

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

Implementation

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