Skip to content

DayCycle beta ​

Interface of @v12-engine/engine

ts
export interface DayCycle

How the days go by. Hours run from 0 to 24

Members ​

dawn ​

ts
dawn: number;

Hour the sun comes up

dusk ​

ts
dusk: number;

Hour it goes down

length ​

ts
length: number;

Seconds a whole day and night take

start ​

ts
start: number;

Hour of the day the game starts at