#
luxiaotao1123
2022-04-06 71adf3179af944addaeb34d45985fb044e5cef27
static/js/app.js
@@ -72,6 +72,7 @@
         this.stats.end();
         this.queryCrn();
         this.crnMove();
         this.staMove()
      }
      this.initScene = function () {
         this.scene = new THREE.Scene();
@@ -356,20 +357,16 @@
            }
         }
      }
      this.getExistedGoodType=function(state){
         for (let i=0;i<this.goodTypes.length;i++) {
            let type=this.goodTypes[i];
            if(type.type===state) {
               return type.object;
            }
         }
         return null;
      }
      this.crnMove = function (object) {
         for (let crnTask of this.crnTasks) {
            crnTask.move();
         }
      }
      this.staMove = function (object) {
         // for (let crnTask of this.crnTasks) {
         //    crnTask.move();
         // }
      }
      // 功能方法区
      this.changeStats = function () {