Add button in bottom right to wait

This commit is contained in:
Peter Stockings
2026-01-06 16:46:47 +11:00
parent a9779348e9
commit a6bcf24cd0
2 changed files with 31 additions and 0 deletions

View File

@@ -144,6 +144,12 @@ export class GameScene extends Phaser.Scene {
}
});
this.events.on("player-wait", () => {
if (!this.awaitingPlayer) return;
if (this.isMenuOpen || this.isInventoryOpen || this.dungeonRenderer.isMinimapVisible()) return;
this.commitPlayerAction({ type: "wait" });
});
// Zoom Control