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

A collection of collectables and quantities for distribution across associated CollectableSpot2D. More...

Inheritance diagram for CollectableGroup:

Public Member Functions

List< int > GetCollectableIds ()
 Returns a list of collectable ID's in the quantities specified in the group's Entries. More...
 

Properties

CollectableGroupEntry[] Entries = Array.Empty<CollectableGroupEntry>() [getset]
 An array of entries. More...
 
string GroupName = "<None>" [getset]
 The unique group name. More...
 

Detailed Description

A collection of collectables and quantities for distribution across associated CollectableSpot2D.

Definition at line 13 of file CollectableGroup.cs.

Member Function Documentation

◆ GetCollectableIds()

List< int > GetCollectableIds ( )

Returns a list of collectable ID's in the quantities specified in the group's Entries.

Exceptions
DuplicateIdExceptionRaised if a collectable has a duplicate ID.

Definition at line 29 of file CollectableGroup.cs.

Property Documentation

◆ Entries

CollectableGroupEntry [] Entries = Array.Empty<CollectableGroupEntry>()
getset

An array of entries.

Definition at line 23 of file CollectableGroup.cs.

◆ GroupName

string GroupName = "<None>"
getset

The unique group name.

Definition at line 18 of file CollectableGroup.cs.


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