method
Map.set
Map.set(x: tx, y: ty, glyph: g)
Writes one cell of the tilemap. A game edits the engine's grid directly — carving a door, placing a pillar — instead of keeping its own copy and re-stamping rows.
Example
# doc-check: skip — illustrative Map.set(x: 9, y: 0, glyph: '.') # open the north door