Skip to content

advanceDayClock

advanceDayClock(world, deltaSeconds): void

Defined in: packages/engine/src/gameplay/world/daylight.ts:13

Walks every clock forward by the hours a span of real seconds buys, each at its own day length, and wraps it: two Worlds mounted at once keep two clocks. A world with no clock in it — every story — keeps its hour.

Parameter Type
world World
deltaSeconds number

void