From 71adf3179af944addaeb34d45985fb044e5cef27 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期三, 06 四月 2022 09:07:26 +0800
Subject: [PATCH] #
---
static/js/app.js | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/static/js/app.js b/static/js/app.js
index 0520b6a..8abe956 100644
--- a/static/js/app.js
+++ b/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 () {
--
Gitblit v1.9.1