Quellcode durchsuchen

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

yunhaipiaodi vor 6 Jahren
Ursprung
Commit
51ba09b98a
1 geänderte Dateien mit 18 neuen und 0 gelöschten Zeilen
  1. 18 0
      games/yqrxd/launcher/game-min.js

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

@@ -3656,6 +3656,24 @@ var __extends = this.__extends || function(c, d) {
             }
         };
       
+      	 //判断当前是否是提示页面
+        d.prototype.curIsInfoPage = function(){
+            if(this.info != null){
+                return true;
+            }else{
+                return false;
+            }
+        };
+
+        //判断当前是否是游戏页面
+        d.prototype.curIsGamePage = function(){
+            if(this.ingame != null){
+                return true;
+            }else{
+                return false;
+            }
+        };
+      
       	//开始游戏
         d.prototype.startToGame = function(){
             b = new egret.Event("click_start_btn", !0);