Skip to content

setDayHour

setDayHour(clock, hour): void

Defined in: packages/engine/src/gameplay/world/actions.ts:55

Puts the clock at an hour. It keeps running from there. An hour it cannot run on leaves the clock at the one it has.

Parameter Type
clock Entity
hour number

void