dodelani dnevnik

This commit is contained in:
2025-12-08 03:15:53 +01:00
parent 860a10a5c3
commit 4c3ee03007
11 changed files with 488 additions and 72 deletions

View File

@@ -0,0 +1,27 @@
class ExpansionSystem {
constructor(scene) {
this.scene = scene;
this.unlockedZones = ['FARM_START']; // List of IDs
this.islandsDiscovered = [];
console.log('🌍 ExpansionSystem: Initialized');
}
// Preveri, če je igralec v dovoljeni coni
checkAccess(x, y) {
// TODO: Map coordinates to Zone ID
return true;
}
unlockZone(zoneId) {
if (!this.unlockedZones.includes(zoneId)) {
this.unlockedZones.push(zoneId);
console.log('🔓 Zone Unlocked:', zoneId);
// TODO: Remove fog/barrier
}
}
travelToIsland(islandId) {
console.log('🚤 Traveling to:', islandId);
// TODO: Load island map / scene
}
}