Room Class

MyDungeon

Room Class

Class for creating dungeon rooms
Inheritance Hierarchy
SystemObject  MyDungeon.DungeonGeneration.GridBasedGeneratorRoom

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

The Room type exposes the following members.

Constructors
  NameDescription
Public methodRoom
Initializes a new instance of the Room class
Top
Methods
  NameDescription
Public methodSetupRoom
Sets up Rooms in map array
Top
Fields
  NameDescription
Public fieldConnections
The tiles of the room walls that are connected to corridors
Public fieldEnteringCorridor
The direction of the corridor that is entering this room
Public fieldRoomHeight
How many tiles high the room is
Public fieldRoomWidth
How many tiles wide the room is
Public fieldXPos
The x coordinate of the lower left tile of the room
Public fieldYPos
The y coordinate of the lower left tile of the room
Top
See Also