Class DungeonGeneratorLevelGrid3D
Holds information about a procedurally generated level.
Inheritance
System.Object
DungeonGeneratorLevelGrid3D
Inherited Members
Namespace: Edgar.Unity
Assembly: cs.temp.dll.dll
Syntax
public class DungeonGeneratorLevelGrid3D : GeneratedLevelBase<RoomInstanceGrid3D, LevelDescriptionGrid3D>
Remarks
Currently cannot be serialized by the default Unity serializer.
Constructors
DungeonGeneratorLevelGrid3D(Dictionary<RoomBase, RoomInstanceGrid3D>, GameObject, LevelDescriptionGrid3D, Random, GeneratorSettingsGrid3D)
Declaration
public DungeonGeneratorLevelGrid3D(Dictionary<RoomBase, RoomInstanceGrid3D> roomInstances, GameObject rootGameObject, LevelDescriptionGrid3D levelDescription, Random random, GeneratorSettingsGrid3D generatorSettings)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<RoomBase, RoomInstanceGrid3D> | roomInstances | |
GameObject | rootGameObject | |
LevelDescriptionGrid3D | levelDescription | |
Random | random | |
GeneratorSettingsGrid3D | generatorSettings |
Properties
GeneratorSettings
Generator settings.
Declaration
public GeneratorSettingsGrid3D GeneratorSettings { get; }
Property Value
Type | Description |
---|---|
GeneratorSettingsGrid3D |
Random
Instance of the random numbers generator.
Declaration
public Random Random { get; }
Property Value
Type | Description |
---|---|
Random |