Commit b17cb180 authored by zjz1994's avatar zjz1994

地图优化暂存

parent d9240176
......@@ -31,7 +31,7 @@
</e:Group>
<e:Image id="settingBtn" y="1" source="setting_png" horizontalCenter="0"/>
</e:Group>
<e:Group id="redrainbg" width="750" height="1624">
<e:Group id="redrainbg" width="750" height="1624" visible="false">
<e:Image source="redrainbg_jpg"/>
<e:Label id="tips" text="正在加载中,请稍后" y="826.33" textColor="0x244B00" horizontalCenter="0" size="24" visible="false"/>
<e:Label id="percentTxt" text="63%" y="943.33" textColor="0x244B00" horizontalCenter="0.5"/>
......
......@@ -9,14 +9,15 @@ export default class MapRpeatPart extends ComponentBase {
static LEVEL_NUMS = 22;
private _index;
private _topHeight;
constructor(i,topHeight) {
super();
this._index = i;
this._topHeight=topHeight;
}
// constructor(i,topHeight) {
// super();
// this._index = i;
// this._topHeight=topHeight;
// }
start() {
super.start();
return;
for (let i = 0; i < MapRpeatPart.LEVEL_NUMS; i++) {
const levelOrder = MapTopPart.LEVEL_NUMS + this._index * MapRpeatPart.LEVEL_NUMS + i + 1;
this.getTxt(i).text = levelOrder + '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment