QtCraft API C++ classes QML types Handbook

QcDungeonPlanner::Blocks Struct

struct QcDungeonPlanner::Blocks

The blocks a plan places, resolved once; chests and lights by the side they face or hang on (north, east, south, west). More...

Public Variables

std::array<QcBlockId, 4> chests
std::array<QcBlockId, 4> lights
QcBlockId moss
QcBlockId spawner
QcBlockId wall

Detailed Description

Member Variable Documentation

std::array<QcBlockId, 4> Blocks::chests

The chest facing north, east, south and west.

std::array<QcBlockId, 4> Blocks::lights

The light attached on the north, east, south and west.

QcBlockId Blocks::moss

The mossy wall block that replaces some wall blocks.

QcBlockId Blocks::spawner

The spawner block.

QcBlockId Blocks::wall

The wall block of the room and the corridors' lining.