Skip to content

five-on-it / apps/client/src/ui/banner-view / BannerView

Interface: BannerView ​

Defined in: apps/client/src/ui/banner-view.ts:17

A banner as the overlay draws it: what happened, the mission's title, why it failed.

Properties ​

checkpoint? ​

optional checkpoint?: boolean

Defined in: apps/client/src/ui/banner-view.ts:25

The mission that failed (for dying, too) goes back to its last checkpoint.


kind ​

kind: "reset" | "complete" | "failed" | "disconnected" | "died"

Defined in: apps/client/src/ui/banner-view.ts:19

What happened: the server went away, the player died, the mission failed or was completed, the level was reset.


reason? ​

optional reason?: string

Defined in: apps/client/src/ui/banner-view.ts:23

Why the mission failed, as its failure says.


title? ​

optional title?: string

Defined in: apps/client/src/ui/banner-view.ts:21

The mission's title (a mission's end).