Skip to content

five-on-it / apps/client/src/gui/phone-blocks

apps/client/src/gui/phone-blocks ​

The phone's panel as blocks (layout.ts; GAME_DESIGN §7.5), over the game on the right above the minimap, from what the server says of it and how the player holds it (ui/phone-view.ts: the page, the conversation over it, every button in order): home (the tiles, the unread count on Messages, the installed apps), the messages (newest first, with their replies), the contacts (newest first; a click calls one), the call log (newest first: the panel stands on its bottom edge, so what a list gains goes on top and nothing under the pointer moves), the map (a click drops the waypoint), the camera (its shutter, how many photos, what the last one got) and an app's screen or a keypad (its text, its field, its buttons, what a button that did not work answered), the radio (what plays, the stations, off: the client's own, and the whole phone of a player with none), the Jobs app in the city (the invitations, the lobbies that need players, the missions of this level and the others, Quick play: the newest on top, so what arrives moves nothing under the pointer; without the platform, a line saying jobs need it); a conversation shows over every page (a call ringing, or under way in a call or face to face: the line, its choices, hang up or walk away). Its buttons are numbered for 1–9 in buttonsOf's order. The names (phone, phone-tile-…, phone-unread, phone-messages, phone-reply-<n>-<id>, phone-call-…, phone-calls, phone-map, phone-waypoint, phone-camera, phone-shutter, phone-camera-note, phone-radio, phone-radio-now, phone-radio-…, phone-screen, phone-screen-title, phone-screen-text, phone-field-…, phone-button-…, phone-note, phone-talk, phone-ringing, phone-line, phone-choice-…, phone-jobs, phone-jobs-state, phone-job-…, phone-jobs-error) are the end-to-end tests' contract.

Interfaces ​

Functions ​