From 2c5593c9017e48568c6190a3934adf88f5b3f65a Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Wed, 13 Dec 2023 09:00:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=B1=BB=E5=9E=8B=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game/game.js | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/game/game.js b/game/game.js index f3b56266f..328ad267d 100644 --- a/game/game.js +++ b/game/game.js @@ -31277,29 +31277,11 @@ new Promise(resolve=>{ this.step=0; this.finished=false; /** - * @type {GameEvent[]} + * @type {(Promise & GameEvent & GameEventPromise)[]} */ this.next=[]; - // Object.defineProperty(this.next,'remove',{ - // enumerable:false, - // value:function(){ - // for(const item of arguments){ - // let pos=-1; - // if (typeof item=='number'&&isNaN(item)){ - // pos=this.findIndex(v=>isNaN(v)) - // }else if(item instanceof lib.element.GameEventPromise){ - // pos=this.indexOf(item.toEvent()); - // }else{ - // pos=this.indexOf(item); - // } - // if(pos==-1) continue; - // this.splice(pos,1); - // } - // return this; - // } - // }); /** - * @type {GameEvent[]} + * @type {(Promise & GameEvent & GameEventPromise)[]} */ this.after=[]; this.custom={