LevelsStatus
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
current |
string |
The id of the level being played. |
levels |
LevelStatus[] |
The game’s levels in order, each finished, unlocked and with its best. |
next |
string | null |
The level after current, or null after the last. A game plays one with a command of its own, whose reader calls playLevel on the step that decides outcomes, and starts the scene again once it is accepted. |