RoundScreen
RoundScreen(
props):Element|null
Opens over the round once it is won or lost: the level in a game with
levels, a title and text a game can replace, the score where the round
has a target, and a button under the pane that starts the round again,
beside any of the game’s own. Draws nothing until the round ends. It
titles every loss “Out of time”; a game that fails a round for another
reason reads it from useRound() and passes its own lostTitle.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
props |
RoundScreenProps |
Returns
Section titled “Returns”Element | null