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

The row of the RoomComponent active cells list. More...

Public Member Functions

 ActiveCellsRow (int count, bool value)
 Initializes a new struct. More...
 
 ActiveCellsRow (List< bool > values)
 Initializes a new struct. More...
 

Properties

List< bool > Values [getset]
 The cell activities for the row. More...
 

Private Attributes

List< bool > _values
 

Detailed Description

The row of the RoomComponent active cells list.

Definition at line 11 of file ActiveCellsRow.cs.

Constructor & Destructor Documentation

◆ ActiveCellsRow() [1/2]

ActiveCellsRow ( List< bool >  values)

Initializes a new struct.

Parameters
valuesThe list of values.

Definition at line 24 of file ActiveCellsRow.cs.

◆ ActiveCellsRow() [2/2]

ActiveCellsRow ( int  count,
bool  value 
)

Initializes a new struct.

Parameters
countThe number of elements in the row.
valueThe value to assign to each element of the row.

Definition at line 34 of file ActiveCellsRow.cs.

Member Data Documentation

◆ _values

List<bool> _values
private

Definition at line 14 of file ActiveCellsRow.cs.

Property Documentation

◆ Values

List<bool> Values
getset

The cell activities for the row.

Definition at line 18 of file ActiveCellsRow.cs.


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