collisionDetection property
Implementation
@override
QuadTreeCollisionDetection get collisionDetection => _collisionDetection;
Implementation
@override
set collisionDetection(
CollisionDetection<ShapeHitbox, QuadTreeBroadphase> cd,
) {
if (cd is! QuadTreeCollisionDetection) {
throw 'Must be QuadTreeCollisionDetection!';
}
_collisionDetection = cd;
}