A class in Root.Township, Alta.Caves.
Biome generator for one cave layer: adds per-layer attribute growth by depth and applies its section's multipliers.
Constructors
Fields
2 private and internal fields
| Member | What it is |
|---|
private int depth | Absolute layer depth, counting the lengths of earlier sections. |
private int layer | Layer index within its section. |
Properties
| Member | What it is |
|---|
Section Section { get; protected set; } | The cave section this layer belongs to. |
Methods
| Member | What it is |
|---|
protected override void GenerateAttributes(AttributeSet attributes, Random random) | Runs the base generation, resets the special Depth attribute to 0, adds each attribute's ExtraPerLayer times depth, then applies the section's multipliers. |