Clean up logs and fix variant reference error

This commit is contained in:
2026-01-02 23:13:52 +01:00
parent 970ff224c3
commit 8bb0dd8780
12 changed files with 106 additions and 801 deletions

View File

@@ -9,7 +9,7 @@ export class DungeonDeck {
}
generateMissionDeck(objectiveTileId) {
console.log("🔍 Inspecting TILES object keys:", Object.keys(TILES));
this.cards = [];
// 1. Create a "Pool" of standard dungeon tiles
@@ -65,7 +65,7 @@ export class DungeonDeck {
// --- Step 5: Stack ---
this.cards = [...topPool, ...bottomPool];
console.log(`Deck Generated: ${this.cards.length} cards.`);
}
shuffleArray(array) {