This is good enough
This commit is contained in:
@@ -115,6 +115,9 @@ export interface Graphics {
|
||||
// list. it gets the screen's box to lay itself out around
|
||||
export interface InventoryOverlay {
|
||||
on_render(g: Graphics, screen: InventoryScreenView): void;
|
||||
// while it's true the screen underneath isn't drawn or clicked, panels outside its box included, for something
|
||||
// drawn in its place like the recipe viewer's recipes. asked every frame, before on_render
|
||||
hides_screen?(): boolean;
|
||||
// the screen closed for any reason, like the player closing their inventory
|
||||
on_close?(): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user