Class DungeonGeneratorPostProcessingGrid2D
Base class for custom post-processing logic.
Inheritance
System.Object
DungeonGeneratorPostProcessingGrid2D
Implements
Namespace: Edgar.Unity
Assembly: cs.temp.dll.dll
Syntax
public class DungeonGeneratorPostProcessingGrid2D : ScriptableObject, IDungeonGeneratorPostProcessing<DungeonGeneratorLevelGrid2D, DungeonGeneratorCallbacksGrid2D>
Properties
Random
Declaration
public Random Random { get; }
Property Value
Type | Description |
---|---|
Random |
Methods
RegisterCallbacks(DungeonGeneratorCallbacksGrid2D)
Declaration
public virtual void RegisterCallbacks(DungeonGeneratorCallbacksGrid2D callbacks)
Parameters
Type | Name | Description |
---|---|---|
DungeonGeneratorCallbacksGrid2D | callbacks |
Run(DungeonGeneratorLevelGrid2D)
Runs the post-processing logic with a given generated level.
Declaration
public virtual void Run(DungeonGeneratorLevelGrid2D level)
Parameters
Type | Name | Description |
---|---|---|
DungeonGeneratorLevelGrid2D | level |
SetRandomGenerator(Random)
Declaration
public void SetRandomGenerator(Random random)
Parameters
Type | Name | Description |
---|---|---|
Random | random |