Prechádzať zdrojové kódy

更新 'games/yqrxd/launcher/game-min.js'

yunhaipiaodi 6 rokov pred
rodič
commit
c724d3ec31
1 zmenil súbory, kde vykonal 7 pridanie a 0 odobranie
  1. 7 0
      games/yqrxd/launcher/game-min.js

+ 7 - 0
games/yqrxd/launcher/game-min.js

@@ -3679,6 +3679,13 @@ var __extends = this.__extends || function(c, d) {
             b = new egret.Event("click_start_btn", !0);
             this.dispatchEvent(b);
         };
+      
+      	
+        //重新玩游戏
+        d.prototype.restartGame = function(){
+            b = new egret.Event("click_replay_btn", !0);
+            this.dispatchEvent(b);
+        };
       	
         return d
     }(egret.DisplayObjectContainer);