Explorar o código

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

yunhaipiaodi %!s(int64=6) %!d(string=hai) anos
pai
achega
51ba09b98a
Modificáronse 1 ficheiros con 18 adicións e 0 borrados
  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);