Hold and valley minigames
This commit is contained in:
@@ -75,6 +75,14 @@ export class GuiModMenuScreen extends GuiMenuScreen {
|
||||
if (tick) this.#ticker.run(delta, () => this.#guarded("on_tick", () => tick.call(this.#screen)));
|
||||
}
|
||||
|
||||
override get dim_background(): boolean {
|
||||
return this.#screen.dim_background !== false;
|
||||
}
|
||||
|
||||
override get inventory_overlays(): boolean {
|
||||
return this.#screen.inventory_overlays !== false;
|
||||
}
|
||||
|
||||
render_background(g: ModGraphics): void {
|
||||
const render = this.#screen.on_render_background;
|
||||
if (render) this.#guarded("on_render_background", () => render.call(this.#screen, g));
|
||||
|
||||
Reference in New Issue
Block a user