Skip to content

Profectus / game/requirements / displayRequirements

Function: displayRequirements() ​

displayRequirements(requirements, amount): Renderable

Utility function for display 1+ requirements compactly.

Parameters ​

requirements ​

Requirements

The 1+ requirements to display

amount ​

DecimalSource = 1

The amount of levels earned to be displayed

Returns ​

Renderable

Defined in ​

profectus/src/game/requirements.tsx:314