Skip to content

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

Interface: PhoneUi ​

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

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:30

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:32

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


open ​

open: boolean

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

Shown over the game.


page ​

page: PhonePage

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

The page shown (a conversation shows over it).