Skip to content

five-on-it / apps/client/src/ui/mission-format / addNotices

Function: addNotices() ​

addNotices(shown, incoming, now, pace?): ShownNotice[]

Defined in: apps/client/src/ui/mission-format.ts:40

The lines on screen once incoming arrives at now: the expired ones gone, the newest kept; pace scales how long the new ones stay (the settings' text speed: 1 the game's).

Parameters ​

shown ​

readonly ShownNotice[]

incoming ​

readonly object[]

now ​

number

pace? ​

number = 1

Returns ​

ShownNotice[]