QuadTree<T extends Hitbox<T>> constructor

QuadTree<T extends Hitbox<T>>({
  1. int maxObjects = 25,
  2. int maxDepth = 10,
  3. Rect mainBoxSize = Rect.zero,
})

Implementation

QuadTree({
  this.maxObjects = 25,
  this.maxDepth = 10,
  this.mainBoxSize = Rect.zero,
});