SpatialQuadtree

Description

abstract class Tinman.Terrain.Util.SpatialQuadtree
<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

Spatial​Quadtree


protected constructor SpatialQuadtree → (2)

entityTrait in : TEntityTrait

The entity trait.

distanceTrait in : TDistanceTrait

The distance trait.

Creates a new instance of SpatialQuadtree.