Floor layer

This commit is contained in:
2026-06-06 18:49:45 -05:00
parent a5f60e22e1
commit 374a69f0ca
8 changed files with 699 additions and 33 deletions
+3 -1
View File
@@ -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.