Show / Hide Table of Contents

Class CorridorPostGen

Connects room entrances via corridor segments.

Inheritance
System.Object
CorridorPostGen
Implements
IPostDunGen
Namespace: Content.Shared.Procedural.PostGeneration
Assembly: Content.Shared.dll
Syntax
public sealed class CorridorPostGen : object, IPostDunGen

Fields

| Improve this Doc View Source

Method

Declaration
public CorridorPostGenMethod Method
Field Value
Type Description
CorridorPostGenMethod
| Improve this Doc View Source

PathLimit

How far we're allowed to generate a corridor before calling it.

Declaration
public int PathLimit
Field Value
Type Description
System.Int32
Remarks

Given the heavy weightings this needs to be fairly large for larger dungeons.

| Improve this Doc View Source

Width

How wide to make the corridor.

Declaration
public int Width
Field Value
Type Description
System.Int32

Implements

IPostDunGen
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾