RequiredRoomConnector

Class in ChivalrousGames.DungeonMaster

Description

Class used to store the required RoomConnectors to find a matching Room. This is used internally for Dungeon generation. There should be no need for a user to work with this class.

Properties

Direction Direction ReadOnly
The Direction of the RequiredRoomConnector.
TowardRegion Region ReadOnly
The Region of the RequiredRoomConnector.
RoomConnectors List<RoomConnector> ReadOnly
The RoomConnectors of the RequiredRoomConnector.
WallOnly bool ReadOnly
Gets a value indicating whether this RequiredRoomConnector should only be a wall.
NoWall bool ReadOnly
Gets a value indicating whether this RequiredRoomConnector should never be a wall.
WallConnectorType ConnectorType ReadOnly
The ConnectorType that represents a wall for this Level.

Constructors

Constructor
public RequiredRoomConnector(Direction direction, Region towardRegion, List roomConnectors);
Parameters
direction Direction The Direction of the RequiredRoomConnector.
towardRegion Region The Region of the RequiredRoomConnector.
roomConnectors List<RoomConnector> The RoomConnectors of the RequiredRoomConnector.
Return
RequiredRoomConnector A new instance of RequiredRoomConnector
Description

Initializes a new instance of the RequiredRoomConnector class.

Constructor
public RequiredRoomConnector(Direction direction, ConnectorType wallConnectorType);
Parameters
direction Direction The Direction of the RequiredRoomConnector.
wallConnectorType ConnectorType The ConnectorType that represents a wall for this Level.
Return
RequiredRoomConnector A new instance of RequiredRoomConnector
Description

Initializes a new instance of the RequiredRoomConnector class.