The Cursed Labyrinth
Loading...
Searching...
No Matches
BiomeSequenceController Class Reference

Listens for "special room solved" and builds the next biome; keeps simple run snapshots. More...

Inheritance diagram for BiomeSequenceController:
Collaboration diagram for BiomeSequenceController:

Classes

struct  BiomeEntry
 A single step in the sequence: biome profile + its special-room prefab. More...

Public Member Functions

void StartFirstBiome ()
 Begin the sequence from biome 0.
void TryRestartCurrentBiome ()
void NextBiome ()
 Kick off building the next biome.

Public Attributes

List< BiomeEntrybiomes = new List<BiomeEntry>()
DungeonController dungeonController
SpecialRoomSeeder specialRoomSeeder
SpawnSelector spawnSelector
TilemapClearer tilemapClearer
int currentBiomeIndex = -1

Properties

List< RoomCurrentRooms [get]
 Rooms of the current build.

Detailed Description

Listens for "special room solved" and builds the next biome; keeps simple run snapshots.

Member Function Documentation

◆ NextBiome()

void BiomeSequenceController.NextBiome ( )

Kick off building the next biome.

◆ StartFirstBiome()

void BiomeSequenceController.StartFirstBiome ( )

Begin the sequence from biome 0.

Resets currentBiomeIndex then advances to the first biome.

◆ TryRestartCurrentBiome()

void BiomeSequenceController.TryRestartCurrentBiome ( )

Member Data Documentation

◆ biomes

List<BiomeEntry> BiomeSequenceController.biomes = new List<BiomeEntry>()

◆ currentBiomeIndex

int BiomeSequenceController.currentBiomeIndex = -1

◆ dungeonController

DungeonController BiomeSequenceController.dungeonController

◆ spawnSelector

SpawnSelector BiomeSequenceController.spawnSelector

◆ specialRoomSeeder

SpecialRoomSeeder BiomeSequenceController.specialRoomSeeder

◆ tilemapClearer

TilemapClearer BiomeSequenceController.tilemapClearer

Property Documentation

◆ CurrentRooms

List<Room> BiomeSequenceController.CurrentRooms
get

Rooms of the current build.


The documentation for this class was generated from the following file: