QtCraft API C++ classes QML types Handbook

QcMobBehaviour::Clock Struct

struct QcMobBehaviour::Clock

When a tick happens: the world's time and the tick's length in seconds. More...

Public Variables

double dt
double worldTime

Detailed Description

Member Variable Documentation

double Clock::dt

The tick's length in seconds.

double Clock::worldTime

The world's time.