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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
clock |
Entity |
hour |
number |
Returns
Section titled “Returns”void