Skip to main content

tile_to_cell

Function tile_to_cell 

Source
pub fn tile_to_cell(tile: Pos, layout: &Layout) -> Option<(i32, i32)>
Expand description

The console cell of the left glyph of tile, or None if the tile is outside the layout. The only place the “two cells per tile” rule lives (game ADR-0018).