Type DungeonConfiguration
Namespace Karcero.Engine.Models
Contains several properties that will set and affect characteristics of the map generation process.
Properties
Public properties
double ChanceToRemoveDeadends get; set;
Controls how many dead ends are left.
Value is between 0 and 1, higher value == less dead ends.
int Height get; set;
The height of the map.
int MaxRoomHeight get; set;
Maximum height for room generation.
int MaxRoomWidth get; set;
Maximum width for room generation.
int MinRoomHeight get; set;
Minimum height for room generation.
int MinRoomWidth get; set;
Minimum width for room generation.
double Randomness get; set;
Controls how random the map is (how many twists and turns).
Value is between 0 and 1, higher value means more random.
int RoomCount get; set;
Number of rooms to generate.
double Sparseness get; set;
Controls how sparse the map is.
Value is between 0 and 1, higher value means more sparse.
int Width get; set;
The width of the map.