Interface: TimeData
SimpleCalendar.TimeData
Interface for all information about time
Hierarchy
-
IDataItemBase
↳
TimeData
Properties
gameTimeRatio
• gameTimeRatio: number
When running the clock for every second that passes in the real world how many seconds pass in game.
hoursInDay
• hoursInDay: number
The number of hours in a single day.
id
• id: string
The unique ID of the data item
Inherited from
IDataItemBase.id
minutesInHour
• minutesInHour: number
The number of minutes in a single hour.
name
• Optional
name: string
The optional name of the data item
Inherited from
IDataItemBase.name
numericRepresentation
• Optional
numericRepresentation: number
The optional numeric representation of the data item
Inherited from
IDataItemBase.numericRepresentation
secondsInMinute
• secondsInMinute: number
The number of seconds in a single minute.
unifyGameAndClockPause
• unifyGameAndClockPause: boolean
If to start/stop the clock when the game is unpaused/paused.
updateFrequency
• updateFrequency: number
How often (in real world seconds) to update the time while the clock is running.