QtCraft API C++ classes QML types Handbook

QcVillageStyle::Wetland Struct

struct QcVillageStyle::Wetland

The ground a style over water shapes (QcVillageWetland); bottom air: none. More...

Public Functions

int reach() const

Public Variables

int blend
QcBlockId bottom
int depth
QcBlockId floatingPlant
double floatingPlantChance
int fray
int margin
int mudBand
QcBlockId plant
double plantChance
double scale
double water

Detailed Description

Member Function Documentation

int Wetland::reach() const

Returns the distance from the pieces and boardwalks beyond which columns keep their terrain.

Member Variable Documentation

QcBlockId Wetland::bottom

The block of the pools' bottoms, the mud and raised ground.

int Wetland::depth

Pools lie this many blocks below the water surface (their deepest part a block more).