Skip to content

five-on-it / apps/client/src/ui/phone-view / PhoneUi

Interface: PhoneUi ​

Defined in: apps/client/src/ui/phone-view.ts:55

The phone as the player holds it: open or not, the page, whether the world opened it, what its form holds.

Properties ​

byWorld ​

byWorld: boolean

Defined in: apps/client/src/ui/phone-view.ts:61

The world opened it (a terminal, a keypad, a conversation, a call): it goes away with what opened it.


form ​

form: Readonly<Record<string, string>>

Defined in: apps/client/src/ui/phone-view.ts:63

What the fields of the screen's form hold, by field.


open ​

open: boolean

Defined in: apps/client/src/ui/phone-view.ts:57

Shown over the game.


page ​

page: PhonePage

Defined in: apps/client/src/ui/phone-view.ts:59

The page shown (a conversation shows over it).