QtCraft API C++ classes QML types Handbook

QcMineshaftNetwork::Link Struct

struct QcMineshaftNetwork::Link

A corridor or staircase between two nodes. More...

Public Variables

bool bridge
int from
bool stairs
int to

Detailed Description

Member Variable Documentation

bool Link::bridge

Whether it bridges a cave (the link judge's verdict).

int Link::from

Index of the first node in nodes().

bool Link::stairs

A staircase: from on a level, to one lower.

int Link::to

Index of the second node in nodes().