Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

SeaWavesTrait

const SeaWavesTrait: Trait<{ directionRadians: number; height: number; length: number; speed: number; }>

The waves of a Landscape’s sea, on its ground, which findSeaHeight and the drawn sea both read: the room and every page write it from the Landscape’s sea, so a system and the water agree. A game that draws its own water writes its own here.