Skip to main content

draw_terrain

Function draw_terrain 

Source
pub fn draw_terrain(
    looks: &Looks<'_>,
    buf: &mut GlyphBuffer,
    id: TerrainId,
    (x, y): (i32, i32),
)
Expand description

Draws terrain id on the tile whose left cell is (x, y): its two glyphs in its colors. Nothing for a terrain the game lacks.