Make a function to access overlay cells Closes #35.
This commit is contained in:
parent
f668ff6b7a
commit
fcd1bc589c
8 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue