QtCraft API C++ classes QML types Handbook

QcDungeonPlan::Corridor Struct

struct QcDungeonPlan::Corridor

A corridor from the room to a cave: the feet cells of its path from the door in the room's wall outwards, the last one in the cave; each is open two cells high. More...

Public Variables

QList<QcBlockPos> path
QList<std::pair<int, int>> steps

Detailed Description

Member Variable Documentation

QList<QcBlockPos> Corridor::path

The feet cells from the door outwards, in world coordinates.

QList<std::pair<int, int>> Corridor::steps

Directions of the steps (x, z), one per cell after the first.