DecayKnowledgebase
functiongenerated

Grid.set_terrain

Paints a terrain the map's sheet declares into a flat tile map's cell, choosing its tile and its neighbors' from which of them are the same terrain. "" empties the cell and redraws its neighbors.

Signature

Grid.set_terrain(grid: Entity, column: number, row: number, terrain: String) -> unit

Member of Grid

Related types

Entity

Source
docs/generated/decay-api.json
Schema
v1
Engine version
0.1.0
Source commit
909aca81368b