collisionDetection property

CollisionDetection<T, B> get collisionDetection

Implementation

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

Implementation

set collisionDetection(CollisionDetection<T, B> cd) {
  if (_collisionDetection != null) {
    cd.addAll(_collisionDetection!.items);
  }
  _collisionDetection = cd;
}