Skip to content

five-on-it / apps/client/src/renderer/contact-view / ContactReading

Interface: ContactReading ​

Defined in: apps/client/src/renderer/contact-view.ts:50

What window.__poc().contact shows.

Properties ​

deepest ​

deepest: number

Defined in: apps/client/src/renderer/contact-view.ts:56

The deepest the player's drawn car has overlapped a drawn car (m), since the page began.


nearest ​

nearest: number | null

Defined in: apps/client/src/renderer/contact-view.ts:54

The gap between the player's drawn car and the nearest drawn car around it (m; negative: overlapping), or null with none near.


predicted ​

predicted: number

Defined in: apps/client/src/renderer/contact-view.ts:52

The remote cars drawn at the local time now.


touches ​

touches: number[]

Defined in: apps/client/src/renderer/contact-view.ts:58

The drawn gap (m) at each of the last touches the prediction felt, newest last.