dodelani dnevnik
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user