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.
- Listed in World, chunks and saving
Constructors
| Member | What 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
| Member | What it is |
|---|---|
private LocationChunk chunk | Backing field for Chunk. |
private float connectionCost | Backing field for ConnectionCost. |
Properties
| Member | What 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: