Skip to content

1681-engine / index / autotileAt

Function: autotileAt() ​

ts
function autotileAt(
   grid, 
   set, 
   x, 
   y
): number;

Defined in: src/tilemap/autotile.ts:174

The tile cell (x, y) gets under set.

Parameters ​

ParameterType
gridTerrainGrid
setAutotileRuleSet
xnumber
ynumber

Returns ​

number

Released under the MIT License.