SpatialQuadtree2

Description

abstract class Tinman.Terrain.Util.SpatialQuadtree2
<TEntity val>
<TEntityTrait ref : ISpatialEntityTrait<TEntity, Box2D>>
<TDistanceTrait val : ISpatialDistanceTrait<TEntity, Vec2D>>

Derived from

SpatialTree<TEntity, Box2D, Vec2D, TEntityTrait, SpatialQuadtree_Bounds, TDistanceTrait> abstract

Abstract base class for spatial quadtrees.

Protected / Constructors

SpatialQuadtree2


protected constructor SpatialQuadtree2 → (2)

entityTrait in : TEntityTrait

The entity trait.

distanceTrait in : TDistanceTrait

The distance trait.

Creates a new instance of SpatialQuadtree2.