ソースを参照

更新 '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);