DialogPanel
DialogPanel(
props):Element|null
The conversation the page’s own player holds, along the bottom of the
screen: the speaker’s name and title, a portrait, the line typed out,
and the choices as buttons below the pane. A number key or a tap picks
a choice, the Interact key shows the whole line and then goes on where
a node has one way on, and Escape ends it, leaving the menu to the
next Escape. It frees the cursor while open, so the choices take a
click under a camera that captures it. Draws nothing while the player
talks to no one. Mount it once in the game’s Hud, as a Bag is.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
props |
DialogPanelProps |
Returns
Section titled “Returns”Element | null