Floor layer
This commit is contained in:
@@ -106,7 +106,9 @@ impl Widget for BoardWidget<'_> {
|
||||
} else if let Some(obj) = board.object_at(bx, by) {
|
||||
obj.glyph
|
||||
} else {
|
||||
board.get(bx, by).0
|
||||
// Static layer: the grid archetype's glyph, or the floor layer
|
||||
// for an empty cell (see `Board::display_glyph`).
|
||||
board.display_glyph(bx, by)
|
||||
};
|
||||
|
||||
// Paint the resolved glyph into the terminal cell.
|
||||
|
||||
Reference in New Issue
Block a user