QtCraft API C++ classes QML types Handbook

QcVillagerHomes::Lying Struct

struct QcVillagerHomes::Lying

Where and how a villager lies in the bed whose head is at head: on top of it, the head on the pillow, facing the foot (the client lays it on its back, QcAnimator). More...

Header: #include <server/villages/QcVillagerHomes.h>

Public Variables

QcVec3 position
float yaw

Detailed Description

None when no bed is there.

Member Variable Documentation

QcVec3 Lying::position

Where it lies.

float Lying::yaw

Where it faces (degrees).