package blockmap
- Alphabetic
- Public
- Protected
Type Members
- class BlockMap extends AnyRef
A data structure which divides coordinate space into buckets or coordinate spans.
A data structure which divides coordinate space into buckets or coordinate spans. The function of the blockmap is to organize the instantiated game objects (entities) that can be represented in coordinate space into a bucket each or into multiple buckets each that reflect their locality with other game objects in the same coordinate space. Polling based on either positions or on entities should be able to recover a lists of entities that are considered neighbors in the context of that position and a rectangular distance around the position. The purpose of the blockmap is to improve targeting when making such locality determinations.
The coordinate space of a PlanetSide zone may contain 65535 entities, one of which is the same target entity. A bucket on the blockmap should contain only a small fraction of the full zone's entities. - trait BlockMapEntity extends WorldEntity
An game object that can be represented on a blockmap.
An game object that can be represented on a blockmap. The only requirement is that the entity can position itself in a zone's coordinate space.
- See also
BlockMap
WorldEntity
- sealed case class BlockMapEntry(map: BlockMap, coords: Vector3, rangeX: Float, rangeY: Float, sectors: Set[Int]) extends Product with Serializable
- class Sector extends SectorPopulation
The bucket of a blockmap structure that contains lists of entities that, within a given span of coordinate distance, are considered neighbors.
The bucket of a blockmap structure that contains lists of entities that, within a given span of coordinate distance, are considered neighbors. While the coordinate space that supports a blockmap (?) may be any combination of two dimensions, the sectors are always square.
- class SectorGroup extends SectorPopulation
The specific datastructure that is mentioned when using the term "sector conglomerate".
The specific datastructure that is mentioned when using the term "sector conglomerate". Typically used to compose the lists of entities from various individual sectors.
- class SectorListOf[A] extends AnyRef
Custom lists of entities for sector buckets.
Custom lists of entities for sector buckets.
- A
the type of object that will be the entities stored in the list
- trait SectorPopulation extends AnyRef
The collections of entities in a sector conglomerate.
- trait SectorTraits extends AnyRef
Information about the sector.
Value Members
- object BlockMap
- object BlockMapEntity
- object Sector
- object SectorGroup