A class in Root.Township, Alta.PAGaC.
PAGaC generation step that runs a set of GenerationRules over the generator's tag grid.
Constructors
| Member | What it is |
|---|
ApplyGenerationRule() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
| Member | What it is |
|---|
private GenerationRule[] generationRules | The rules to apply. |
private bool isRepeatingUntilNone | If set, repeats the pass until no rule matches. |
Methods
| Member | What it is |
|---|
override void Run(GenerationBase generationBase) | Applies the rules once, or keeps applying them until a pass makes no changes when isRepeatingUntilNone is set. |