Make a function to access overlay cells Closes #35.

This commit is contained in:
Zed A. Shaw 2025-06-26 23:17:53 -04:00
parent f668ff6b7a
commit fcd1bc589c
8 changed files with 7 additions and 7 deletions

View file

@ -53,6 +53,11 @@ namespace gui {
$overlay_ui.show_sprite("middle", "blood_splatter");
}
lel::Cell MainUI::overlay_cell(const std::string& name) {
return $overlay_ui.$gui.cell_for(name);
}
bool MainUI::play_rotate() {
bool done = $camera.play_rotate();
$needs_render = !done;