Class in ChivalrousGames.DungeonMaster / Inherits from: LevelGenerator
Description
Default Level Generator. Pretty much like the LevelGenerator base class with the added feature of expansion policy management. It’s a good example of adding a feature to the level generation system without recoding everything.Fields
softenExpansionPolicy | bool | If true, level will soften its expansion policy to allow for dead ends to appear more often, based on the expansionThreshold. |
expansionThreshold | int | The minimum expansion treshold to reach to allow for dead ends to appear. When under this threshold, no dead ends will be added if other possibilities are available. |