QtCraft API C++ classes QML types Handbook

QcVillageStyle::Stilts Struct

struct QcVillageStyle::Stilts

The posts and stairs of a style over water (QcVillageStilts, decision E-407). More...

Public Variables

int height
int maxDepth
QcBlockId post
int spacing
QcBlockId stair
double water

Detailed Description

Member Variable Documentation

int Stilts::height

Floors and boardwalks lie this many blocks above the water surface.

int Stilts::maxDepth

The ground lies at most this many blocks below the water surface where a piece or boardwalk stands.

QcBlockId Stilts::post

The block of the posts under pieces, boardwalks and stairs.

int Stilts::spacing

Posts stand every this many cells.

QcBlockId Stilts::stair

The stairs block's state facing north; turned per stair.

double Stilts::water

At least this share of the samples around a centre lies under water (QcBoardwalkPlanner::wetAround()).