PresetDungeonConnectorPointFULL version only

Class in ChivalrousGames.DungeonMaster / Inherits from: MonoBehaviour

Description

Configuration of a DungeonConnectorPoint for a PresetRoom

Fields

direction Direction The Direction of this DungeonConnectorPoint when Room rotation == 0,0,0
configs List<DungeonConnectorPointConfig> List of possible configs for this DungeonConnectorPoint.
doNotUse bool If this option is checked, the Dungeon will prioritize the creation of any other possible dungeon connection before using this one.
selectedConfig DungeonConnectorPointConfig The selected config for this DungeonConnectorPoint. This dungeon connection is independant of the DungeonConnectorsDungeonConnectors setup done on the DungeonGenerationConfig. If empty, randomization will occur as usual.

Properties

PresetRoom PresetRoom ReadOnly
The PresetRoom in which this PresetDungeonConnectorPoint is located.
DungeonConnectorPoint DungeonConnectorPoint ReadOnly
The DungeonConnectorPoint configured by this PresetDungeonConnectorPoint.
RealDirection Direction ReadOnly
The Direction that the DungeonConnectorPoint connects toward when Room rotation is taken into account.
Configs List<DungeonConnectorPointConfig> ReadOnly
List of possible configs for this DungeonConnectorPoint.

Methods

ResetConfigs
public void ResetConfigs();
Description

Resets the configs by loading them from the DungeonConnectorPoint.

SelectedConfigValid
public bool SelectedConfigValid();
Return
bool True if selected config is valid; otherwise, false
Description

Verifies if the selected config is valid.