RoomConnectorPoint
Class in ChivalrousGames.DungeonMaster / Inherits from: BaseConnectorPoint

Description

A location in a Room responsible to spawn a RoomConnector.

Fields

configsList<RoomConnectorPointConfig>Each config describes a RoomConnector that can spawn at this RoomConnectorPoint.
directionDirectionThe direction from this Connector point toward the target.

Properties

DirectionDirectionReadOnly
The direction from this Connector point toward the target.
SelectedConnectorPointConfigRoomConnectorPointConfigGets the selected room connector point config for this RoomConnectorPoint. Unless you know exactly what you are doing, do not set this value. Dungeon generation will handle this.

Methods

GetWallConnectorPointConfigs
public List GetWallConnectorPointConfigs();
Parameters
List<RoomConnectorPointConfig>A list containing all the connector configs for walls
Description
Collects all connector configs with a connector type that fits the level wall connector type
ClearSelectedConfig
public override void ClearSelectedConfig();
Description
Clears the selected config. Makes the RoomConnectorPoint ungenerated. Unless you know exactly what you are doing, do not use this method. Dungeon generation will handle this.