functiongenerated
Grid.set_terrain_corner
Sets or clears one corner of a corners terrain on a flat tile map, and redraws the up to four tiles that meet there. A corner is named by the grid line crossing it, so a map of 3 by 2 tiles has corners 0 to 3 across and 0 to 2 down. set is true to make the corner the terrain, false to give it back to the ground.
Signature
Grid.set_terrain_corner(grid: Entity, column: number, row: number, terrain: String, set: bool) -> unitMember of Grid
Related types
- Source
- docs/generated/decay-api.json
- Schema
- v1
- Engine version
- 0.1.0
- Source commit
909aca81368b