Skip to content

five-on-it / packages/world/src/level / LevelSky

Interface: LevelSky ​

Defined in: packages/world/src/level.ts:309

A level's sky, from its level spec: its climate (@foi/shared's climates: a region's biome, temperate for a town) and the clock a room on it starts at and runs at. A game's rules have the last word on both; a level without one (a test level built of blocks) is always clear, at noon.

Properties ​

climate ​

climate: string

Defined in: packages/world/src/level.ts:311

Its climate, by name.


clock? ​

optional clock?: object

Defined in: packages/world/src/level.ts:313

The room clock it starts at (HH:MM) and its pace (game minutes per real second).

pace ​

pace: number

start ​

start: string