ManiaMap.Godot
Procedural generation of metroidvania style maps for Godot .NET.
TemplateGroupEntry Class Reference

A TemplateGroup entry with a room template and its constraints. More...

Inheritance diagram for TemplateGroupEntry:

Public Member Functions

TemplateGroupsEntry GetMMTemplateGroupsEntry (Dictionary< RoomTemplateResource, RoomTemplate > templateCache)
 Returns a new ManiaMap template groups entry for use by the procedural generator. More...
 

Properties

int MaxQuantity = int.MaxValue [getset]
 The maximum quantity of rooms with this template to include in the layout. More...
 
int MinQuantity [getset]
 The minimum quantity of rooms with this template to include in the layout. More...
 
RoomTemplateResource RoomTemplate [getset]
 The room template. More...
 

Detailed Description

A TemplateGroup entry with a room template and its constraints.

Definition at line 12 of file TemplateGroupEntry.cs.

Member Function Documentation

◆ GetMMTemplateGroupsEntry()

TemplateGroupsEntry GetMMTemplateGroupsEntry ( Dictionary< RoomTemplateResource, RoomTemplate templateCache)

Returns a new ManiaMap template groups entry for use by the procedural generator.

Parameters
templateCacheA dictionary of cached room templates by resource.

Definition at line 33 of file TemplateGroupEntry.cs.

Property Documentation

◆ MaxQuantity

int MaxQuantity = int.MaxValue
getset

The maximum quantity of rooms with this template to include in the layout.

Definition at line 27 of file TemplateGroupEntry.cs.

◆ MinQuantity

int MinQuantity
getset

The minimum quantity of rooms with this template to include in the layout.

Definition at line 22 of file TemplateGroupEntry.cs.

◆ RoomTemplate

RoomTemplateResource RoomTemplate
getset

The room template.

Definition at line 17 of file TemplateGroupEntry.cs.


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