|
|
|
@ -210,13 +210,12 @@ export class BuildingWindow extends UIBase {
|
|
|
|
|
|
|
|
|
|
this.buldingStatus = StatusManager.getStatus<BuildingStatus>(BuildingStatus); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.initBuildings();//创建每一个建筑buildingItem
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildingWindow.instance = this; |
|
|
|
|
this.three = PlanComponent.instance; |
|
|
|
|
// this.three.getAllBuilding(this);
|
|
|
|
|
this.three.buildingUIItems = this.buildingUIItems |
|
|
|
|
this.buildingUIItems.length? this.three.beforeOneBuildingID = this.three.buildingUIItems[0].getBuildingID() : null |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|