QtCraft API C++ classes QML types Handbook

QcPathGround Struct

Where a creature walks: the world, the path cells of its blocks and the creature's path rules. More...

Header: #include <server/pathing/QcPathGround.h>

Public Variables

const QcPathCellTable &cells
QcPathRules rules
const QcBlockAccess &world

Detailed Description

What checks a step or a path against the ground (QcMobNavigator::safeStep, pathClear) and what steers along it (QcMobNavigator, QcDoorPassage) look at.

Member Variable Documentation

const QcPathCellTable &QcPathGround::cells

The path cells of the blocks.

QcPathRules QcPathGround::rules

The path rules of the creature.

const QcBlockAccess &QcPathGround::world

The blocks.