|
@@ -3636,6 +3636,8 @@ var __extends = this.__extends || function(c, d) {
|
|
|
null != this.ingame && (this.removeChild(this.ingame), this.ingame = null);
|
|
|
null == this.info && (this.info = new Info, this.addChild(this.info))
|
|
|
};
|
|
|
+
|
|
|
+ //左右按钮
|
|
|
d.prototype.leftOrRightDown = function (code) {
|
|
|
if ("mi_5" == this.ingame.showDataArr[this.ingame.showDataArr.length - 1]){
|
|
|
this.ingame.doClickYes();
|
|
@@ -3644,7 +3646,15 @@ var __extends = this.__extends || function(c, d) {
|
|
|
this.ingame.checkValue();
|
|
|
}
|
|
|
};
|
|
|
-
|
|
|
+
|
|
|
+ //判断当前是否是首页
|
|
|
+ d.prototype.curIsHomePage = function(){
|
|
|
+ if(this.children instanceof this.homePage){
|
|
|
+ return true;
|
|
|
+ }else{
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ };
|
|
|
return d
|
|
|
}(egret.DisplayObjectContainer);
|
|
|
MainGame.prototype.__class__ = "MainGame";
|