QtCraft API C++ classes QML types Handbook

QcVillageStilts Struct

How a style over water stands (decision E-407): its pieces and boardwalks lie at one floor height above the water surface on posts down to the bottom, and stairs lead down where a boardwalk ends on dry land. More...

Header: #include <common/content/villages/QcVillageDefinitions.h>

Public Variables

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

Detailed Description

Member Variable Documentation

int QcVillageStilts::height

Floors and boardwalks lie this many blocks above the water surface (the floor block's height).

int QcVillageStilts::maxDepth

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

QString QcVillageStilts::post

The posts ("post", spruce log by default).

int QcVillageStilts::spacing

Posts stand every this many cells under pieces and boardwalks.

QString QcVillageStilts::stair

The stairs from a boardwalk's end down to dry land.

double QcVillageStilts::water

At least this share of the ground around a centre (the flatness samples) lies under water.