PresetSpawnPointFULL version only

Class in ChivalrousGames.DungeonMaster / Inherits from: MonoBehaviour

Description

Configuration of a SpawnPoint for a PresetRoom

Fields

spawnPointName string Name of the SpawnPoint configured by this PresetSpawnPoint. The name of the SpawnPoint should be unique in a Room.
configs List<SpawnPointConfig> List of possible configs for this SpawnPoint.
doNotUse bool If this option is checked, the Dungeon will not spawn anything here unless there is a need to spawn a key.
prioritizeKey bool If this option is checked, the Dungeon will try to prioritize this Room to spawn a key if possible. This only works if the Room SpawnPoint allows keys to spawn.
selectedConfig SpawnPointConfig The selected config for this SpawnPoint.

Properties

PresetRoom PresetRoom ReadOnly
The PresetRoom in which this PresetSpawnPoint is located.
SpawnPoint SpawnPoint ReadOnly
The SpawnPoint configured by this PresetSpawnPoint.
Configs List<SpawnPointConfig> ReadOnly
List of possible configs for this SpawnPoint.

Methods

ResetConfigs
public void ResetConfigs();
Description

Resets the configs by loading them from the SpawnPoint.

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

Verifies if the selected config is valid.