dreva in kamni top

This commit is contained in:
2025-12-07 22:32:45 +01:00
parent 974141c08c
commit 6b8f9aee66
13 changed files with 384 additions and 90 deletions

View File

@@ -49,6 +49,17 @@ class UIScene extends Phaser.Scene {
toggleCraftingMenu() {
if (!this.craftingContainer) this.createCraftingMenu();
this.craftingContainer.setVisible(!this.craftingContainer.visible);
// Pause/Resume game?
// if (this.gameScene) this.gameScene.physics.world.isPaused = this.craftingContainer.visible;
}
toggleCrafting() {
this.toggleCraftingMenu();
}
toggleInventory() {
// Za zdaj odpre crafting meni, ker nimamo ločenega "Big Inventory"
this.toggleCraftingMenu();
}
createCraftingMenu() {