Skip to main content

ChunkAdjacencyConfiguration

A class in Root.Township, Alta.Chunks.

One forced link from a location chunk to another chunk, with a travel cost. Held in ChunkConnections.ForcedAdjacent and walked by chunk lookup and audio environment code.

Constructors​

MemberWhat it is
ChunkAdjacencyConfiguration(float connectionCost, LocationChunk chunk)Creates a ChunkAdjacencyConfiguration with default values.
ChunkAdjacencyConfiguration()Creates a ChunkAdjacencyConfiguration with default values.

Fields​

2 private and internal fields
MemberWhat it is
private LocationChunk chunkBacking field for Chunk.
private float connectionCostBacking field for ConnectionCost.

Properties​

MemberWhat it is
LocationChunk Chunk { get; }The location chunk on the other end of the link.
float ConnectionCost { get; }Cost of crossing this link (default 1).

Used in​

Members of other types that take, return or hold a ChunkAdjacencyConfiguration: