\ Phase 28 Session 5: Rivers & Lakes Complete - RiverSystem + LakeSystem with biome-aware water rendering"
This commit is contained in:
@@ -89,10 +89,24 @@ class GameScene extends Phaser.Scene {
|
||||
this.transitionSystem = new TransitionSystem(this, this.biomeSystem);
|
||||
console.log('✅ Transition System ready!');
|
||||
|
||||
// 🌊 PHASE 28 SESSION 5: RIVER SYSTEM
|
||||
console.log('🌊 Initializing River System...');
|
||||
this.riverSystem = new RiverSystem(500, 500, this.biomeSystem);
|
||||
this.riverSystem.generateRivers();
|
||||
console.log('✅ River System ready!');
|
||||
|
||||
// 🏞️ PHASE 28 SESSION 5: LAKE SYSTEM
|
||||
console.log('🏞️ Initializing Lake System...');
|
||||
this.lakeSystem = new LakeSystem(500, 500, this.biomeSystem);
|
||||
this.lakeSystem.generateLakes(this.riverSystem);
|
||||
console.log('✅ Lake System ready!');
|
||||
|
||||
// Connect systems to terrainSystem
|
||||
this.terrainSystem.biomeSystem = this.biomeSystem;
|
||||
this.terrainSystem.chunkManager = this.chunkManager;
|
||||
this.terrainSystem.transitionSystem = this.transitionSystem;
|
||||
this.terrainSystem.riverSystem = this.riverSystem;
|
||||
this.terrainSystem.lakeSystem = this.lakeSystem;
|
||||
console.log('✅ BiomeSystem & ChunkManager connected to terrainSystem');
|
||||
|
||||
await this.terrainSystem.generate();
|
||||
|
||||
Reference in New Issue
Block a user