|
@@ -4084,7 +4084,6 @@
|
|
this.settingNode = (this.getChild("settingNode"));
|
|
this.settingNode = (this.getChild("settingNode"));
|
|
this.n45 = (this.getChild("n45"));
|
|
this.n45 = (this.getChild("n45"));
|
|
this.secretaryBtn = (this.getChild("secretaryBtn"));
|
|
this.secretaryBtn = (this.getChild("secretaryBtn"));
|
|
- this.rankBtn = (this.getChild("rankBtn"));
|
|
|
|
this.n46 = (this.getChild("n46"));
|
|
this.n46 = (this.getChild("n46"));
|
|
this.ganFaMoShiBtn = (this.getChild("ganFaMoShiBtn"));
|
|
this.ganFaMoShiBtn = (this.getChild("ganFaMoShiBtn"));
|
|
this.liucheng1 = (this.getChild("liucheng1"));
|
|
this.liucheng1 = (this.getChild("liucheng1"));
|
|
@@ -5135,8 +5134,6 @@
|
|
onConstruct() {
|
|
onConstruct() {
|
|
this.n0 = (this.getChild("n0"));
|
|
this.n0 = (this.getChild("n0"));
|
|
this.myNode = (this.getChild("myNode"));
|
|
this.myNode = (this.getChild("myNode"));
|
|
- this.rightBtn = (this.getChild("rightBtn"));
|
|
|
|
- this.leftBtn = (this.getChild("leftBtn"));
|
|
|
|
this.closeBtn = (this.getChild("closeBtn"));
|
|
this.closeBtn = (this.getChild("closeBtn"));
|
|
this.t0 = this.getTransition("t0");
|
|
this.t0 = this.getTransition("t0");
|
|
}
|
|
}
|
|
@@ -5153,11 +5150,7 @@
|
|
this.contentPane = this.ui;
|
|
this.contentPane = this.ui;
|
|
this.isEject = false;
|
|
this.isEject = false;
|
|
this.addUIClick(this.ui.closeBtn, this.closeSelf);
|
|
this.addUIClick(this.ui.closeBtn, this.closeSelf);
|
|
- this.addUIClick(this.ui.leftBtn, this.turnLeft);
|
|
|
|
- this.addUIClick(this.ui.rightBtn, this.turnRight);
|
|
|
|
this.nodeObj = { left: null, right: null, cur: null };
|
|
this.nodeObj = { left: null, right: null, cur: null };
|
|
- this.nodeObj.left = this.ui.myNode.gameNode1;
|
|
|
|
- this.nodeObj.right = this.ui.myNode.gameNode2;
|
|
|
|
this.nodeObj.cur = this.ui.myNode.gameNode3;
|
|
this.nodeObj.cur = this.ui.myNode.gameNode3;
|
|
}
|
|
}
|
|
show() {
|
|
show() {
|
|
@@ -5192,8 +5185,8 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
playWoman(node, parent) {
|
|
playWoman(node, parent) {
|
|
- let xx = this.ui.myNode.gameNode1.secretary.width / 2;
|
|
|
|
- let yy = this.ui.myNode.gameNode1.secretary.height;
|
|
|
|
|
|
+ let xx = this.ui.myNode.gameNode3.secretary.width / 2;
|
|
|
|
+ let yy = this.ui.myNode.gameNode3.secretary.height;
|
|
let scale = 1.5;
|
|
let scale = 1.5;
|
|
if (node == this.secretarySpine2) {
|
|
if (node == this.secretarySpine2) {
|
|
scale = 1.2;
|
|
scale = 1.2;
|
|
@@ -5244,19 +5237,7 @@
|
|
let curData;
|
|
let curData;
|
|
for (let index = 0; index < children.length; index++) {
|
|
for (let index = 0; index < children.length; index++) {
|
|
temp = children[index];
|
|
temp = children[index];
|
|
- if (index == 2) {
|
|
|
|
- curData = data[this.curIndex];
|
|
|
|
- temp.purchaseBtn.touchable = true;
|
|
|
|
- }
|
|
|
|
- else {
|
|
|
|
- temp.purchaseBtn.touchable = false;
|
|
|
|
- if (this.curIndex == 1) {
|
|
|
|
- curData = data[2];
|
|
|
|
- }
|
|
|
|
- else {
|
|
|
|
- curData = data[1];
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ curData = data[1];
|
|
temp.heightTxt.text = curData.height;
|
|
temp.heightTxt.text = curData.height;
|
|
temp.foodTxt.text = curData.food;
|
|
temp.foodTxt.text = curData.food;
|
|
temp.historyTxt.text = curData.history;
|
|
temp.historyTxt.text = curData.history;
|
|
@@ -6138,7 +6119,6 @@
|
|
this.addUIClick(this.ui.shopBtn, this.openShopView);
|
|
this.addUIClick(this.ui.shopBtn, this.openShopView);
|
|
this.addUIClick(this.ui.signBtn, this.openSignView);
|
|
this.addUIClick(this.ui.signBtn, this.openSignView);
|
|
this.addUIClick(this.ui.drawBtn, this.openDrawView);
|
|
this.addUIClick(this.ui.drawBtn, this.openDrawView);
|
|
- this.addUIClick(this.ui.rankBtn, this.openRanking);
|
|
|
|
}
|
|
}
|
|
show(showFailWords) {
|
|
show(showFailWords) {
|
|
super.show();
|
|
super.show();
|
|
@@ -11507,17 +11487,6 @@
|
|
}
|
|
}
|
|
ui_try_com3.URL = "ui://isxx5ak7cj92v4o9";
|
|
ui_try_com3.URL = "ui://isxx5ak7cj92v4o9";
|
|
|
|
|
|
- class ui_Component121 extends fgui.GButton {
|
|
|
|
- static createInstance() {
|
|
|
|
- return (fgui.UIPackage.createObject("game", "Component121"));
|
|
|
|
- }
|
|
|
|
- onConstruct() {
|
|
|
|
- this.n3 = (this.getChild("n3"));
|
|
|
|
- this.t0 = this.getTransition("t0");
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- ui_Component121.URL = "ui://isxx5ak7cy72v4ib";
|
|
|
|
-
|
|
|
|
class ui_huihe1 extends fgui.GComponent {
|
|
class ui_huihe1 extends fgui.GComponent {
|
|
static createInstance() {
|
|
static createInstance() {
|
|
return (fgui.UIPackage.createObject("game", "huihe1"));
|
|
return (fgui.UIPackage.createObject("game", "huihe1"));
|
|
@@ -12545,15 +12514,6 @@
|
|
}
|
|
}
|
|
ui_Component13.URL = "ui://isxx5ak7ixm43xw";
|
|
ui_Component13.URL = "ui://isxx5ak7ixm43xw";
|
|
|
|
|
|
- class ui_Component16 extends fgui.GButton {
|
|
|
|
- static createInstance() {
|
|
|
|
- return (fgui.UIPackage.createObject("game", "Component16"));
|
|
|
|
- }
|
|
|
|
- onConstruct() {
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- ui_Component16.URL = "ui://isxx5ak7ixm43xz";
|
|
|
|
-
|
|
|
|
class ui_dh_js_tuowei extends fgui.GComponent {
|
|
class ui_dh_js_tuowei extends fgui.GComponent {
|
|
static createInstance() {
|
|
static createInstance() {
|
|
return (fgui.UIPackage.createObject("game", "dh_js_tuowei"));
|
|
return (fgui.UIPackage.createObject("game", "dh_js_tuowei"));
|
|
@@ -13661,8 +13621,6 @@
|
|
return (fgui.UIPackage.createObject("game", "Component122"));
|
|
return (fgui.UIPackage.createObject("game", "Component122"));
|
|
}
|
|
}
|
|
onConstruct() {
|
|
onConstruct() {
|
|
- this.gameNode1 = (this.getChild("gameNode1"));
|
|
|
|
- this.gameNode2 = (this.getChild("gameNode2"));
|
|
|
|
this.gameNode3 = (this.getChild("gameNode3"));
|
|
this.gameNode3 = (this.getChild("gameNode3"));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -14708,7 +14666,6 @@
|
|
fgui.UIObjectFactory.setExtension(ui_try_com1.URL, ui_try_com1);
|
|
fgui.UIObjectFactory.setExtension(ui_try_com1.URL, ui_try_com1);
|
|
fgui.UIObjectFactory.setExtension(ui_try_com2.URL, ui_try_com2);
|
|
fgui.UIObjectFactory.setExtension(ui_try_com2.URL, ui_try_com2);
|
|
fgui.UIObjectFactory.setExtension(ui_try_com3.URL, ui_try_com3);
|
|
fgui.UIObjectFactory.setExtension(ui_try_com3.URL, ui_try_com3);
|
|
- fgui.UIObjectFactory.setExtension(ui_Component121.URL, ui_Component121);
|
|
|
|
fgui.UIObjectFactory.setExtension(ui_huihe1.URL, ui_huihe1);
|
|
fgui.UIObjectFactory.setExtension(ui_huihe1.URL, ui_huihe1);
|
|
fgui.UIObjectFactory.setExtension(ui_huihe2.URL, ui_huihe2);
|
|
fgui.UIObjectFactory.setExtension(ui_huihe2.URL, ui_huihe2);
|
|
fgui.UIObjectFactory.setExtension(ui_UIGuanYu.URL, ui_UIGuanYu);
|
|
fgui.UIObjectFactory.setExtension(ui_UIGuanYu.URL, ui_UIGuanYu);
|
|
@@ -14788,7 +14745,6 @@
|
|
fgui.UIObjectFactory.setExtension(ui_Component11.URL, ui_Component11);
|
|
fgui.UIObjectFactory.setExtension(ui_Component11.URL, ui_Component11);
|
|
fgui.UIObjectFactory.setExtension(ui_Component12.URL, ui_Component12);
|
|
fgui.UIObjectFactory.setExtension(ui_Component12.URL, ui_Component12);
|
|
fgui.UIObjectFactory.setExtension(ui_Component13.URL, ui_Component13);
|
|
fgui.UIObjectFactory.setExtension(ui_Component13.URL, ui_Component13);
|
|
- fgui.UIObjectFactory.setExtension(ui_Component16.URL, ui_Component16);
|
|
|
|
fgui.UIObjectFactory.setExtension(ui_dh_js_tuowei.URL, ui_dh_js_tuowei);
|
|
fgui.UIObjectFactory.setExtension(ui_dh_js_tuowei.URL, ui_dh_js_tuowei);
|
|
fgui.UIObjectFactory.setExtension(ui_dh_js_tw_g.URL, ui_dh_js_tw_g);
|
|
fgui.UIObjectFactory.setExtension(ui_dh_js_tw_g.URL, ui_dh_js_tw_g);
|
|
fgui.UIObjectFactory.setExtension(ui_dh_js_xingxing.URL, ui_dh_js_xingxing);
|
|
fgui.UIObjectFactory.setExtension(ui_dh_js_xingxing.URL, ui_dh_js_xingxing);
|
|
@@ -19944,11 +19900,7 @@
|
|
this.contentPane = this.ui;
|
|
this.contentPane = this.ui;
|
|
this.isEject = false;
|
|
this.isEject = false;
|
|
this.addUIClick(this.ui.closeBtn, this.closeSelf);
|
|
this.addUIClick(this.ui.closeBtn, this.closeSelf);
|
|
- this.addUIClick(this.ui.leftBtn, this.turnLeft);
|
|
|
|
- this.addUIClick(this.ui.rightBtn, this.turnRight);
|
|
|
|
this.nodeObj = { left: null, right: null, cur: null };
|
|
this.nodeObj = { left: null, right: null, cur: null };
|
|
- this.nodeObj.left = this.ui.myNode.gameNode1;
|
|
|
|
- this.nodeObj.right = this.ui.myNode.gameNode2;
|
|
|
|
this.nodeObj.cur = this.ui.myNode.gameNode3;
|
|
this.nodeObj.cur = this.ui.myNode.gameNode3;
|
|
}
|
|
}
|
|
show() {
|
|
show() {
|
|
@@ -19983,8 +19935,8 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
playWoman(node, parent) {
|
|
playWoman(node, parent) {
|
|
- let xx = this.ui.myNode.gameNode1.secretary.width / 2;
|
|
|
|
- let yy = this.ui.myNode.gameNode1.secretary.height;
|
|
|
|
|
|
+ let xx = this.ui.myNode.gameNode3.secretary.width / 2;
|
|
|
|
+ let yy = this.ui.myNode.gameNode3.secretary.height;
|
|
let scale = 1.5;
|
|
let scale = 1.5;
|
|
if (node == this.secretarySpine2) {
|
|
if (node == this.secretarySpine2) {
|
|
scale = 1.2;
|
|
scale = 1.2;
|
|
@@ -20035,19 +19987,7 @@
|
|
let curData;
|
|
let curData;
|
|
for (let index = 0; index < children.length; index++) {
|
|
for (let index = 0; index < children.length; index++) {
|
|
temp = children[index];
|
|
temp = children[index];
|
|
- if (index == 2) {
|
|
|
|
- curData = data[this.curIndex];
|
|
|
|
- temp.purchaseBtn.touchable = true;
|
|
|
|
- }
|
|
|
|
- else {
|
|
|
|
- temp.purchaseBtn.touchable = false;
|
|
|
|
- if (this.curIndex == 1) {
|
|
|
|
- curData = data[2];
|
|
|
|
- }
|
|
|
|
- else {
|
|
|
|
- curData = data[1];
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ curData = data[1];
|
|
temp.heightTxt.text = curData.height;
|
|
temp.heightTxt.text = curData.height;
|
|
temp.foodTxt.text = curData.food;
|
|
temp.foodTxt.text = curData.food;
|
|
temp.historyTxt.text = curData.history;
|
|
temp.historyTxt.text = curData.history;
|
|
@@ -20599,7 +20539,6 @@
|
|
this.addUIClick(this.ui.shopBtn, this.openShopView);
|
|
this.addUIClick(this.ui.shopBtn, this.openShopView);
|
|
this.addUIClick(this.ui.signBtn, this.openSignView);
|
|
this.addUIClick(this.ui.signBtn, this.openSignView);
|
|
this.addUIClick(this.ui.drawBtn, this.openDrawView);
|
|
this.addUIClick(this.ui.drawBtn, this.openDrawView);
|
|
- this.addUIClick(this.ui.rankBtn, this.openRanking);
|
|
|
|
}
|
|
}
|
|
show(showFailWords) {
|
|
show(showFailWords) {
|
|
super.show();
|
|
super.show();
|