/** * AutoCodeEui 生成的界面 * http://svn.jiulingwan.com/CQLL/cqll-devel/client/tags/tools/AutoCodeEUI * euiPath:${path} * made by ${auth} * create on ${time} */ class ${shortName}MainView extends ViewBase{ public gameWindow:Boom7Window; private _panel:${shortName}UI; public NAME = "${shortName}MainView"; constructor() { super(); } initView() { let self = this; self.gameWindow = new Boom7Window(); self.addChild(self.gameWindow); self._panel = new ${shortName}ViewUI(); } public get panel(){ return this._panel; } protected initEui() { let self = this; self.mapEuiComponent(self.gameWindow); self.mapEuiComponent(self._panel); } protected createComplete(){ let self = this; self.gameWindow.goup_content.addChild(self._panel); super.createComplete(); //TODO 创建完毕操作 } }