QtCraft API C++ classes QML types Handbook

QcFallingBlockManager::Landing Struct

struct QcFallingBlockManager::Landing

A falling block that came to rest. More...

Public Variables

QcBlockId block
double fallen
bool placed
QcBlockPos pos

Detailed Description

Member Variable Documentation

QcBlockId Landing::block

The block that fell.

double Landing::fallen

Blocks it fell (0 when unknown).

bool Landing::placed

It may become the block there (otherwise it drops as items).

QcBlockPos Landing::pos

The cell the block came to rest in.