add

fun add(entityIndex: Int, coordGrid: CoordGrid)

Adds the entityIndex to the zone that contains the coordGrid coord.

Parameters

entityIndex

the index to add to the end of the zone.

coordGrid

the coord grid at which to find the zone array. If the zone does not exist, a new instance is created.