Skip to main content

cell_of

Function cell_of 

Source
pub fn cell_of(grid: &Grid, tile: Pos) -> Option<(i32, i32)>
Expand description

The console cell of the left glyph of tile on grid, a grid of this skin’s tiles (Layout::grid), or None if the tile isn’t drawn: where a game’s unit painter writes a unit’s glyphs.