From d95b36a88357d018f76d926e9074c521eb8335a7 Mon Sep 17 00:00:00 2001
From: lohir <3399054449@qq.com>
Date: 星期三, 23 十月 2024 11:24:07 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/screen/components/screen-map-three/experience/world/world.js |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/views/screen/components/screen-map-three/experience/world/world.js b/src/views/screen/components/screen-map-three/experience/world/world.js
index 3a2bbe0..a872335 100644
--- a/src/views/screen/components/screen-map-three/experience/world/world.js
+++ b/src/views/screen/components/screen-map-three/experience/world/world.js
@@ -1,16 +1,21 @@
 import EventEmitter from '../utils/eventEmitter';
-
-import Test from "./test";
+import Enviroment from './enviroment';
+import Map from './map';
 
 export default class World extends EventEmitter  {
   constructor(experience) {
     super();
     this.experience = experience;
     this.scene = this.experience.scene;
-    this.Test = new Test(this.experience);
+    this.enviroment = new Enviroment(this.experience);
+    this.map = new Map(this.experience);
   }
 
   update() {
-
+    this.enviroment.update();
+  }
+  destroy() {
+    this.enviroment.destroy();
+    this.map.destroy();
   }
 }
\ No newline at end of file

--
Gitblit v1.8.0