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

@@ -34,6 +34,12 @@ class GameScene extends Phaser.Scene {
// Initialize Spatial Grid
this.spatialGrid = new SpatialGrid(10);
// Initialize Concept Systems (Zombie Roots)
this.zombieSystem = new ZombieWorkerSystem(this);
this.legacySystem = new LegacySystem(this);
this.expansionSystem = new ExpansionSystem(this);
this.blueprintSystem = new BlueprintSystem(this);
// Inicializiraj terrain sistem - 100x100 mapa
console.log('🌍 Initializing terrain...');
try {
@@ -301,6 +307,9 @@ class GameScene extends Phaser.Scene {
if (this.weatherSystem) {
this.weatherSystem.update(delta);
// Concept Systems Updates
if (this.zombieSystem) this.zombieSystem.update(this.time.now, delta);
// Night Logic
if (this.weatherSystem.isNight()) {
const isHorde = this.weatherSystem.isHordeNight();