QtCraft API C++ classes QML types Handbook

QcRails::Line Struct

struct QcRails::Line

The rails of the same block as the rail at cell along its line, at most reach each way, in the order of the line (from the end of its first track end to that of its second), cell among them at index (the lines of powered and activator rails, decision E-384). More...

Header: #include <common/blockrules/QcRails.h>

Public Variables

QList<QcBlockPos> cells
qsizetype index

Detailed Description

Member Variable Documentation

QList<QcBlockPos> Line::cells

The rails' cells in the order of the line.

qsizetype Line::index

Where cell stands in cells.