Skip to content

PATTERNS beta ​

Variable of @v12-engine/client/ground

ts
PATTERNS: Readonly<Record<GroundPattern, PatternDef>>

The client's patterns, by name (GroundPattern): grass, dirt, gravel, sand, rock, snow, plain, cobbles, cracked (cracked earth), mud, moss, ice, lava, planks and flagstones, each with the parameters its formula has. A game's own (GameView.ground.patterns) are offered before them; a game names one of these in a look (pattern: 'gravel') or a map's ground does (MapTile.pattern.kind)