Skip to content

five-on-it / apps/tools/src/level-sky / withSpecSky

Function: withSpecSky() ​

withSpecSky(level, kitsDir, name): Promise<LevelData>

Defined in: apps/tools/src/level-sky.ts:16

The level with the sky its spec gives (kitsDir/<name>.spec.json), unchanged without a spec.

Parameters ​

level ​

LevelData

kitsDir ​

string

name ​

string

Returns ​

Promise<LevelData>