Show / Hide Table of Contents

Class DungeonGeneratorBaseGrid2D

Base class for various dungeon generators.

Inheritance
System.Object
VersionedMonoBehaviour
LevelGeneratorBase<DungeonGeneratorPayloadGrid2D>
DungeonGeneratorBaseGrid2D
DungeonGeneratorGrid2D
PlatformerGeneratorGrid2D
Implements
ISerializationCallbackReceiver
ILevelGenerator
Inherited Members
LevelGeneratorBase<DungeonGeneratorPayloadGrid2D>.PipelineRunner
LevelGeneratorBase<DungeonGeneratorPayloadGrid2D>.EnableDiagnostics
LevelGeneratorBase<DungeonGeneratorPayloadGrid2D>.GetRandomNumbersGenerator(Boolean, Int32)
LevelGeneratorBase<DungeonGeneratorPayloadGrid2D>.Generate()
LevelGeneratorBase<DungeonGeneratorPayloadGrid2D>.GenerateCoroutine()
VersionedMonoBehaviour.OnBeforeSerialize()
VersionedMonoBehaviour.OnAfterDeserialize()
Namespace: Edgar.Unity
Assembly: cs.temp.dll.dll
Syntax
public abstract class DungeonGeneratorBaseGrid2D : LevelGeneratorBase<DungeonGeneratorPayloadGrid2D>, ISerializationCallbackReceiver, ILevelGenerator

Fields

AdvancedConfig

Declaration
public AdvancedConfigGrid2D AdvancedConfig
Field Value
Type Description
AdvancedConfigGrid2D

CustomInputTask

Declaration
public DungeonGeneratorInputBaseGrid2D CustomInputTask
Field Value
Type Description
DungeonGeneratorInputBaseGrid2D

CustomPostProcessTasks

Declaration
public List<DungeonGeneratorPostProcessingGrid2D> CustomPostProcessTasks
Field Value
Type Description
System.Collections.Generic.List<DungeonGeneratorPostProcessingGrid2D>

DisableCustomPostProcessing

Disable all custom post-processing tasks.

Declaration
public bool DisableCustomPostProcessing
Field Value
Type Description
System.Boolean

FixedLevelGraphConfig

Declaration
public FixedLevelGraphConfigGrid2D FixedLevelGraphConfig
Field Value
Type Description
FixedLevelGraphConfigGrid2D

GenerateOnStart

Whether to generate a level on enter play mode.

Declaration
public bool GenerateOnStart
Field Value
Type Description
System.Boolean

GeneratorConfig

Declaration
public DungeonGeneratorConfigGrid2D GeneratorConfig
Field Value
Type Description
DungeonGeneratorConfigGrid2D

InputType

Declaration
public DungeonGeneratorInputTypeGrid2D InputType
Field Value
Type Description
DungeonGeneratorInputTypeGrid2D

OtherConfig

Declaration
public OtherConfigGrid2D OtherConfig
Field Value
Type Description
OtherConfigGrid2D

PostProcessConfig

Declaration
public PostProcessingConfigGrid2D PostProcessConfig
Field Value
Type Description
PostProcessingConfigGrid2D

RandomGeneratorSeed

Which seed should be used for the random numbers generator. Is used only when UseRandomSeed is false.

Declaration
public int RandomGeneratorSeed
Field Value
Type Description
System.Int32

ThrowExceptionsImmediately

Declaration
public bool ThrowExceptionsImmediately
Field Value
Type Description
System.Boolean

UseRandomSeed

Whether to use a random seed.

Declaration
public bool UseRandomSeed
Field Value
Type Description
System.Boolean

Properties

ThrowExceptionImmediately

Declaration
protected override bool ThrowExceptionImmediately { get; }
Property Value
Type Description
System.Boolean
Overrides
Edgar.Unity.LevelGeneratorBase<Edgar.Unity.DungeonGeneratorPayloadGrid2D>.ThrowExceptionImmediately

Methods

ExportMapDescription()

Declaration
public void ExportMapDescription()

GetGeneratorTask()

Declaration
protected virtual IPipelineTask<DungeonGeneratorPayloadGrid2D> GetGeneratorTask()
Returns
Type Description
IPipelineTask<DungeonGeneratorPayloadGrid2D>

GetInputTask()

Declaration
protected virtual IPipelineTask<DungeonGeneratorPayloadGrid2D> GetInputTask()
Returns
Type Description
IPipelineTask<DungeonGeneratorPayloadGrid2D>

GetPipelineItemsAndPayload()

Declaration
protected override (List<IPipelineTask<DungeonGeneratorPayloadGrid2D>> pipelineItems, DungeonGeneratorPayloadGrid2D payload) GetPipelineItemsAndPayload()
Returns
Type Description
System.ValueTuple<System.Collections.Generic.List<IPipelineTask<DungeonGeneratorPayloadGrid2D>>, DungeonGeneratorPayloadGrid2D>
Overrides
Edgar.Unity.LevelGeneratorBase<Edgar.Unity.DungeonGeneratorPayloadGrid2D>.GetPipelineItemsAndPayload()

GetPostProcessingTask()

Declaration
protected virtual IPipelineTask<DungeonGeneratorPayloadGrid2D> GetPostProcessingTask()
Returns
Type Description
IPipelineTask<DungeonGeneratorPayloadGrid2D>

GetTilemapLayersHandler()

Declaration
protected virtual Func<ITilemapLayersHandlerGrid2D> GetTilemapLayersHandler()
Returns
Type Description
Func<ITilemapLayersHandlerGrid2D>

InitializePayload()

Declaration
protected virtual DungeonGeneratorPayloadGrid2D InitializePayload()
Returns
Type Description
DungeonGeneratorPayloadGrid2D

OnUpgradeSerializedData(Int32)

Declaration
protected override int OnUpgradeSerializedData(int version)
Parameters
Type Name Description
System.Int32 version
Returns
Type Description
System.Int32
Overrides
VersionedMonoBehaviour.OnUpgradeSerializedData(Int32)

Start()

Declaration
public void Start()

Implements

ISerializationCallbackReceiver
ILevelGenerator
In This Article
Back to top Generated by DocFX