more editor menus

This commit is contained in:
2026-06-20 18:36:28 -05:00
parent 0dc69c7ebb
commit ea309c3e0d
2 changed files with 35 additions and 2 deletions
+5
View File
@@ -226,6 +226,11 @@ impl EditorState {
));
}
pub(crate) fn set_current(&mut self, archetype: Archetype) {
self.current_archetype = archetype;
self.current_glyph = self.current_archetype.default_glyph();
}
/// Stamps the current drawing thing (archetype + glyph) into the cell under the
/// cursor, applying the placement rules (see [`Board::place_archetype`]).
pub(crate) fn place_current(&mut self) {