Accessors
Static dayDuration
- get dayDuration(): number
- set dayDuration(value: number): any
-
Returns number
-
Parameters
Returns any
Static gameHour
- get gameHour(): number
- set gameHour(value: number): any
-
Returns number
-
Parameters
Returns any
Static timeScale
- get timeScale(): number
- set timeScale(value: number): any
-
Returns number
-
Parameters
Returns any
Methods
Static delay
- delay(functionName: string, entity: YEntity, time: number, type: YTimeType): void
- delay(functionName: string, logic: YLogic, time: number, type: YTimeType): void
-
Parameters
-
functionName: string
-
-
time: number
-
Returns void
-
Parameters
-
functionName: string
-
-
time: number
-
Returns void
Allows to get / set length of one in-game day.