API Reference › Map — tilemap › Map.fill
method

Map.fill

Map.fill(glyph: g)

Fills the whole map with one glyph — the first stroke of a generated room.

Example

# doc-check: skip — illustrative
Map.size(20, 15)
Map.fill(glyph: '.')
← All symbols