Move passable and opaque into objectdef

This commit is contained in:
2026-05-30 21:22:36 -05:00
parent a0d21bde20
commit 0241cd2a8d
5 changed files with 59 additions and 25 deletions
+4
View File
@@ -180,6 +180,10 @@ pub(crate) fn show_editor_panel(
}
let obj = &mut board.objects[i];
ui.checkbox(&mut obj.passable, "Passable");
ui.checkbox(&mut obj.opaque, "Opaque");
let current =
obj.script_name.as_deref().unwrap_or("(none)").to_string();