浏览代码

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

yunhaipiaodi 6 年之前
父节点
当前提交
51ba09b98a
共有 1 个文件被更改,包括 18 次插入0 次删除
  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);