five-on-it / packages/shared/src/clock / RoomClock
Interface: RoomClock
Defined in: packages/shared/src/clock.ts:31
A room's clock: the time it showed at a tick and how fast it runs from there.
Properties
minutes
minutes:
number
Defined in: packages/shared/src/clock.ts:35
The game minutes it showed then since the room's first midnight (the time of day is that modulo a day).
pace
pace:
number
Defined in: packages/shared/src/clock.ts:37
Game minutes per real second (0 stands still, 1 is an hour a minute).
tick
tick:
number
Defined in: packages/shared/src/clock.ts:33
The tick the clock was anchored at.