Corridor Class

MyDungeon

Corridor Class

Class for creating Corridors
Inheritance Hierarchy
SystemObject  MyDungeon.DungeonGeneration.GridBasedGeneratorCorridor

Namespace:  MyDungeon.DungeonGeneration.GridBasedGenerator
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class Corridor

The Corridor type exposes the following members.

Constructors
  NameDescription
Public methodCorridor
Initializes a new instance of the Corridor class
Top
Methods
  NameDescription
Public methodSetupCorridor
Sets up Corridor location in map array
Top
Fields
  NameDescription
Public fieldCorridorLength
How many units long the corridor is
Public fieldDirection
Which direction the corridor is heading from it's room
Public fieldStartXPos
The x coordinate for the start of the corridor
Public fieldStartYPos
The y coordinate for the start of the corridor
Top
See Also