LevelGenerator
Class in ChivalrousGames.DungeonMaster / Inherits from: MonoBehaviour

Description

Base level generator.

Properties

DungeonDungeonReadOnly
Gets the dungeon.
LevelLevelReadOnly
Gets the level.

Methods

InternalGenerateLevel
public virtual LevelValidationReport InternalGenerateLevel(Dictionary context);
Parameters
contextDictionaryThe level generation context.
Return
LevelValidationReportA level validation report
Description
Generates the level (initial internal method to implement) to create your own level generator.
BeforeResetLevelGeneration
public virtual void BeforeResetLevelGeneration(Dictionary context);
Parameters
contextDictionaryThe level generation context.
Description
Custom actions to do before Level generation is reset, even the initial generation has a reset before generating. If you need to collect data of the previous generation from the context, this is the place to do it.
AfterResetLevelGeneration
public virtual void AfterResetLevelGeneration(Dictionary context);
Parameters
contextDictionaryThe level generation context.
Description
Custom actions to do after Level generation is reset, even the initial generation has a reset before generating. If you want to prepare elements to add to the context, this is the place to do it.