ManiaMap.Unity
Procedural generation of metroidvania style maps for Unity.
CollectableGroupEntry Struct Reference

A structure containing a collectable and a quantity. More...

Public Member Functions

 CollectableGroupEntry (CollectableResource collectable, int quantity)
 Initializes a new entry. More...
 

Properties

CollectableResource Collectable [getset]
 The collectable. More...
 
int Quantity [getset]
 The quantity. More...
 

Private Attributes

CollectableResource _collectable
 
int _quantity
 

Detailed Description

A structure containing a collectable and a quantity.

Definition at line 10 of file CollectableGroupEntry.cs.

Constructor & Destructor Documentation

◆ CollectableGroupEntry()

CollectableGroupEntry ( CollectableResource  collectable,
int  quantity 
)

Initializes a new entry.

Parameters
collectableThe collectable.
quantityThe quantity.

Definition at line 31 of file CollectableGroupEntry.cs.

Member Data Documentation

◆ _collectable

CollectableResource _collectable
private

Definition at line 13 of file CollectableGroupEntry.cs.

◆ _quantity

int _quantity
private

Definition at line 20 of file CollectableGroupEntry.cs.

Property Documentation

◆ Collectable

CollectableResource Collectable
getset

The collectable.

Definition at line 17 of file CollectableGroupEntry.cs.

◆ Quantity

int Quantity
getset

The quantity.

Definition at line 24 of file CollectableGroupEntry.cs.


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