Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • YTime

Index

Constructors

Accessors

Methods

Constructors

constructor

Accessors

Static dayDuration

  • get dayDuration(): number
  • set dayDuration(value: number): any
  • Allows to get / set length of one in-game day.

    Returns number

  • Allows to get / set length of one in-game day.

    Parameters

    • value: number

    Returns any

Static gameHour

  • get gameHour(): number
  • set gameHour(value: number): any
  • Allows to get / set current in-game time

    Returns number

  • Allows to get / set current in-game time

    Parameters

    • value: number

    Returns any

Static timeScale

  • get timeScale(): number
  • set timeScale(value: number): any
  • Allows to get / set scale of one in-game day compared to real* day duration.

    Returns number

  • Allows to get / set scale of one in-game day compared to real* day duration.

    Parameters

    • value: number

    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

    Returns void

  • Parameters

    Returns void

Generated using TypeDoc