stmm-games-doc  0.32.0
Public Attributes | List of all members
stmg::FillerEvent::FillGen Struct Reference

Public Attributes

RandomTiles::ProbTileGen m_oProbTileGen
 The tile generator. More...
 
FILL_MODE m_eFillMode = FILL_MODE_REPLACE
 The fill mode. More...
 
int32_t m_nTotTiles = 1
 The number of tiles to fill. More...
 
double m_fFactorOfAvailablePositions = 0.0
 Factor of tiles selected by m_refTargetTiles that should be filled. More...
 

Member Data Documentation

◆ m_eFillMode

FILL_MODE stmg::FillerEvent::FillGen::m_eFillMode = FILL_MODE_REPLACE

The fill mode.

Default is FILL_MODE_REPLACE.

◆ m_fFactorOfAvailablePositions

double stmg::FillerEvent::FillGen::m_fFactorOfAvailablePositions = 0.0

Factor of tiles selected by m_refTargetTiles that should be filled.

m_nTotTiles is added on top of those. Must be >= 0.0 and <= 1.0. Default is 0.0.

◆ m_nTotTiles

int32_t stmg::FillerEvent::FillGen::m_nTotTiles = 1

The number of tiles to fill.

Is added to the number of tiles calculated with m_fFactorOfAvailablePositions. Can be negative.

◆ m_oProbTileGen

RandomTiles::ProbTileGen stmg::FillerEvent::FillGen::m_oProbTileGen

The tile generator.