1 |
- window.__require=function e(t,n,o){function i(r,s){if(!n[r]){if(!t[r]){var c=r.split("/");if(c=c[c.length-1],!t[c]){var u="function"==typeof __require&&__require;if(!s&&u)return u(c,!0);if(a)return a(c,!0);throw new Error("Cannot find module '"+r+"'")}r=c}var l=n[r]={exports:{}};t[r][0].call(l.exports,function(e){return i(t[r][1][e]||e)},l,l.exports,e,t,n,o)}return n[r].exports}for(var a="function"==typeof __require&&__require,r=0;r<o.length;r++)i(o[r]);return i}({ArrowFly:[function(e,t,n){"use strict";cc._RF.push(t,"dc3c5xBeBhGnapHx9RJ3cz0","ArrowFly");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../../Engine/Basic/BasicObject"),r=e("../../../Engine/Data/CommonDataType"),s=e("../../../Engine/Event/EventManager"),c=e("../../../Engine/Time/TimeManager"),u=e("../../Data/GameDataType"),l=e("../../Event/GameEventName"),f=e("../Data/Unit/UnitConfig"),h=function(e){function t(t){var n=e.call(this)||this;return n.unit=t,c.default.schedule(n,n._update,1/60),n}return i(t,e),t.prototype.launch=function(){this.perfect=0,this.hitChickens=new Map,this.getChicken()},t.prototype.getChicken=function(){var e=this,t={type:f._EUnitType.Chicken,unitID:null,teamID:"123456789",isLiving:!1,callback:function(t){e.chickens=t}};s.default.sendEvent(l.default.Unit.Unit_GetUnit,t)},t.prototype._update=function(){var e=this;if(u.ConstObject.GameState==r._ECommonState.Runing&&null!=this.chickens&&this.chickens.size>0&&1==this.isEnabled){var t=this.unit.fgui.y-this.unit.fgui.height;this.chickens.forEach(function(n){0==e.hitChickens.has(n.id)&&Date.now()-n.hitTime<=100&&0!=n.fgui.alpha&&t-n.fgui.y<=.7*n.fgui.height&&Math.abs(e.unit.fgui.x-n.fgui.x)<=.7*n.fgui.width&&(e.perfect++,e.hitChickens.set(n.id,n.hit()))})}},t}(a.default);n.default=h,cc._RF.pop()},{"../../../Engine/Basic/BasicObject":"BasicObject","../../../Engine/Data/CommonDataType":"CommonDataType","../../../Engine/Event/EventManager":"EventManager","../../../Engine/Time/TimeManager":"TimeManager","../../Data/GameDataType":"GameDataType","../../Event/GameEventName":"GameEventName","../Data/Unit/UnitConfig":"UnitConfig"}],AttackChickenView:[function(e,t,n){"use strict";cc._RF.push(t,"22d2flUE7xHh5nR/kYxQrRp","AttackChickenView");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../../../Engine/Basic/BasicView"),r=e("../../../../Engine/Data/CommonDataType"),s=e("../../../../Engine/Event/EventManager"),c=e("../../../../Engine/Time/TimeManager"),u=e("../../../../Engine/Tool/Tool"),l=e("../../../../Engine/Tool/Tool/CreateID"),f=e("../../../Data/GameDataType"),h=e("../../../Event/GameEventName"),p=e("../../../SDK/sdk"),d=e("../../../View/OverView/OverView"),_=e("../../Data/GameMusicResData"),v=e("../../Data/Unit/UnitConfig"),m=e("../../Unit/ChickenList"),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype._initView=function(){var e=this;this.explain=this.fgui.getChild("explain").asLoader,this.perfect=this.fgui.getChild("perfect").asCom,this.a0(),this._refreshView(),c.default.schedule(this,this._update,1/60),s.default.onEvent("CloseExplainView",this,function(){e.addComponentIntance(new m.default(2,[cc.v2(-100,cc.winSize.height*(280/750)),cc.v2(cc.winSize.width/2,cc.winSize.height*(160/750)),cc.v2(cc.winSize.width+100,cc.winSize.height*(280/750))],cc.v2(10,20),e.fgui)),e.addComponentIntance(new m.default(1,[cc.v2(-100,.56*cc.winSize.height),cc.v2(cc.winSize.width/2,.44*cc.winSize.height),cc.v2(cc.winSize.width+100,.56*cc.winSize.height)],cc.v2(30,50),e.fgui)),e.addComponentIntance(new m.default(0,[cc.v2(-100,cc.winSize.height*(560/750)),cc.v2(cc.winSize.width/2,.64*cc.winSize.height),cc.v2(cc.winSize.width+100,cc.winSize.height*(560/750))],cc.v2(50,100),e.fgui))}),s.default.onEvent(h.default.Game_StartGame,this,this.onStartGame),s.default.onEvent(h.default.Game_EndGame,this,this.onEndGame),s.default.onEvent(h.default.SDK.SDK_Action,this,this.createFist)},t.prototype._refreshView=function(){s.default.sendEvent(h.default.Unit.Unit_RemoveUnit,null),f.ConstObject.Perfect=0,this.perfectValue=0},t.prototype._clearView=function(){},t.prototype.resize=function(){this.fgui.width=fgui.GRoot.inst.width},t.prototype.onStartGame=function(){p.SDK.onGameStart(),this.createFist()},t.prototype.onEndGame=function(){f.ConstObject.Perfect=0,f.ConstObject.GameState=r._ECommonState.Fail;var e=this.fgui.getChild("cover").asCom;e.visible=!0,u.default.Tween.destroy(e.id),u.default.Tween.tweenTo(e,cc.tween(e).to(.8,{alpha:.7}).delay(.2).call(function(){s.default.sendEvent(h.default.View.View_ShowView,d.default)}).to(.1,{alpha:0}).call(function(){e.visible=!1}).start()),s.default.sendEvent(h.default.Music.Music_PlaySound,_.default.GameEnd)},t.prototype.createFist=function(){if(f.ConstObject.GameState==r._ECommonState.Runing){var e={type:v._EUnitType.Fist,unitID:l.default.createID()+"",teamID:f.ConstObject.MeTeamID,parent:this.fgui,pos:cc.v2(cc.winSize.width/2,cc.winSize.height-100),isDestroy:!0};s.default.sendEvent(h.default.Unit.Unit_CreateUnit,e),this.unschedule(this.resetPerfect)}},t.prototype.resetPerfect=function(){f.ConstObject.Perfect=0},t.prototype.onFightData=function(){var e=this;f.ConstObject.Perfect>0&&this.perfectValue!=f.ConstObject.Perfect&&(this.perfectValue=f.ConstObject.Perfect,this.perfect.visible=!0,this.perfect.alpha=1,this.perfect.setScale(.3,.3),this.perfect.getChild("perfect").asTextField.text="\xd7"+f.ConstObject.Perfect,u.default.Tween.destroy(this.perfect.id),u.default.Tween.tweenTo(this.perfect,cc.tween(this.perfect).to(.1,{scaleX:1,scaleY:1},cc.easeBackOut()).to(1,{alpha:0}).call(function(){e.perfect.visible=!1}).start()))},t.prototype.a0=function(){this.unschedule(this.a1),this.unschedule(this.a2),this.unschedule(this.a3),this.unschedule(this.a4),this.a1()},t.prototype.a1=function(){this.explain.url="ui://AttackChickenView/explain1",c.default.scheduleOnce(this,this.a2,.1)},t.prototype.a2=function(){this.explain.url="ui://AttackChickenView/explain2",c.default.scheduleOnce(this,this.a3,.25)},t.prototype.a3=function(){var e=this;this.explain.url="ui://AttackChickenView/explain3",u.default.Tween.tweenTo(this.explain,cc.tween(this.explain).to(.2,{y:this.explain.y-50},cc.easeCircleActionOut()).to(.1,{y:this.explain.y}).call(function(){e.a4()}).start())},t.prototype.a4=function(){this.explain.url="ui://AttackChickenView/explain1",c.default.scheduleOnce(this,this.a1,1)},t.resPath="AttackChickenView",t}(a.default);n.default=g,cc._RF.pop()},{"../../../../Engine/Basic/BasicView":"BasicView","../../../../Engine/Data/CommonDataType":"CommonDataType","../../../../Engine/Event/EventManager":"EventManager","../../../../Engine/Time/TimeManager":"TimeManager","../../../../Engine/Tool/Tool":"Tool","../../../../Engine/Tool/Tool/CreateID":"CreateID","../../../Data/GameDataType":"GameDataType","../../../Event/GameEventName":"GameEventName","../../../SDK/sdk":"sdk","../../../View/OverView/OverView":"OverView","../../Data/GameMusicResData":"GameMusicResData","../../Data/Unit/UnitConfig":"UnitConfig","../../Unit/ChickenList":"ChickenList"}],Background:[function(e,t,n){"use strict";cc._RF.push(t,"40f4dhDOURNPImi5+Kqtyew","Background");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../Engine/Basic/BasicObject"),r=e("../../Engine/Tool/Tool"),s=e("../../Engine/Tool/Tool/CreateID"),c=function(e){function t(t){var n=e.call(this)||this;n.background=t;var o=t.getChild("n28").asCom;return o._id=s.default.createID()+"",r.default.Tween.tweenTo(o,cc.tween(o).repeatForever(cc.tween().to(1.5,{scaleX:.9,scaleY:.9}).to(4,{scaleX:1,scaleY:1})).start()),n.cloudes=[t.getChild("n26").asCom,t.getChild("n27").asCom,t.getChild("n38").asCom,t.getChild("n39").asCom,t.getChild("n40").asCom],n.schedule(n._update,1/60),n}return i(t,e),t.prototype._update=function(e){for(var t in this.cloudes)this.cloudes[t].x-=10*e,this.cloudes[t].x<-50&&(this.cloudes[t].x=cc.winSize.width+50)},t}(a.default);n.default=c,cc._RF.pop()},{"../../Engine/Basic/BasicObject":"BasicObject","../../Engine/Tool/Tool":"Tool","../../Engine/Tool/Tool/CreateID":"CreateID"}],BasicEvent:[function(e,t,n){"use strict";cc._RF.push(t,"a446cgWwLBJh48U6XM0/ATP","BasicEvent"),Object.defineProperty(n,"__esModule",{value:!0});n.default=function(){},cc._RF.pop()},{}],BasicManager:[function(e,t,n){"use strict";cc._RF.push(t,"7abf9JR4BlL8Z5tYczMsfjm","BasicManager");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../Tool/Tool"),r=e("../Tool/Tool/CreateID"),s=function(e){function t(){var t=e.call(this)||this;return t._id=r.default.createID()+"",t._isEnabled=!0,t._isDestroy=!1,t.updateComponents=new Map,t}return i(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEnabled",{get:function(){return this._isEnabled},set:function(e){this._isEnabled=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDestroy",{get:function(){return this._isDestroy},enumerable:!1,configurable:!0}),t.prototype._update=function(e){var t=this;this.updateComponents.forEach(function(n,o){var i=n.size;n.forEach(function(t,o){0==t.isValid||1==t.isDestroy?n.delete(o):null!=t&&1==t.enabled&&t._update(e)}),i!=n.size&&(n.size>0?t.updateComponents.set(o,n):t.updateComponents.delete(o))})},t.prototype._destroy=function(){1!=this._isDestroy&&(this._isEnabled=!1,this._isDestroy=!0,this.updateComponents=null,this.unscheduleAllCallbacks(),a.default.Tween.destroy(this.id))},t}(cc.Component);n.default=s,cc._RF.pop()},{"../Tool/Tool":"Tool","../Tool/Tool/CreateID":"CreateID"}],BasicObject:[function(e,t,n){"use strict";cc._RF.push(t,"7af4aCbHdxC5aCe3/oe7Nyw","BasicObject");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../Tool/Tool/CreateID"),r=e("../Event/EventManager"),s=e("../Tool/Tool"),c=function(e){function t(){var t=e.call(this)||this;return t._id=a.default.createID()+"",t._components=new Array,t._customData={},t._isEnabled=!0,t._isDestroy=!1,t}return i(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},set:function(e){this._id=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"customData",{get:function(){return this._customData},set:function(e){this._customData=s.default.dataAllCover(this._customData,e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEnabled",{get:function(){return this._isEnabled},set:function(e){this._isEnabled=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDestroy",{get:function(){return this._isDestroy},enumerable:!1,configurable:!0}),t.prototype.setEnabled=function(e,t){if(this.enabled=e,1==t)for(var n in this._components)this._components[n].enabled=e},t.prototype.addComponentIntance=function(e){return e instanceof t&&(this._components.push(e),e._parent=this,e.setNode(this.node)),e},t.prototype._getComponent=function(e){for(var t in this._components)if(this._components[t]instanceof e)return this._components[t];return null},t.prototype._removeComponent=function(e){for(var t in this._components){var n=this._components[t];if(n instanceof e)return this._components.splice(parseInt(t),1),n}return null},t.prototype._getComponents=function(e){var t=[];for(var n in this._components)this._components[n]instanceof e&&t.push(this._components[n]);return t},t.prototype.setNode=function(e){for(var t in this.node=e,this._components)null==this._components[t].node&&(this._components[t].node=e)},t.prototype._update=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},t.prototype._destroy=function(){this.onDestroy(),null!=this.node&&this.destroy()},t.prototype.onDestroy=function(){if(1!=this._isDestroy){for(var e in this._components)this._components[e]._destroy();this._components=[],this._isEnabled=!1,this._isDestroy=!0,this.unscheduleAllCallbacks(),r.default.offEventByTarget(this)}},t}(cc.Component);n.default=c,cc._RF.pop()},{"../Event/EventManager":"EventManager","../Tool/Tool":"Tool","../Tool/Tool/CreateID":"CreateID"}],BasicTreeBehaviorNode:[function(e,t,n){"use strict";cc._RF.push(t,"42407n883xE0qoh7HvW4d9T","BasicTreeBehaviorNode");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),i=0;for(t=0;t<n;t++)for(var a=arguments[t],r=0,s=a.length;r<s;r++,i++)o[i]=a[r];return o};Object.defineProperty(n,"__esModule",{value:!0});var r=e("../Data/CommonDataType"),s=function(e){function t(t,n,o,i){var a=e.call(this)||this;return a.node=t,a.type=n,a._id=o,a._precondition=i,a.state=r._ECommonState.None,null!=a._precondition&&a.addComponentIntance(a._precondition),a}return i(t,e),Object.defineProperty(t.prototype,"precondition",{get:function(){return this._precondition},enumerable:!1,configurable:!0}),t.prototype.getPreconditionResule=function(e){for(var t,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return null==this._precondition?r._ECommonState.Success:(t=this._precondition).enter.apply(t,a([e],n))},t.prototype.enter=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.state=r._ECommonState.Runing,this._enter.apply(this,e)},t.prototype.leave=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.state=r._ECommonState.None,this._leave.apply(this,e)},t.prototype.enterFail=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enterFail.apply(this,e)},t.prototype.enterAgain=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enterAgain.apply(this,e)},t.prototype._update=function(e){if(this.state==r._ECommonState.Runing)for(var t in this._components)this._components[t]._update(e)},t}(e("./BasicObject").default);n.default=s,cc._RF.pop()},{"../Data/CommonDataType":"CommonDataType","./BasicObject":"BasicObject"}],BasicTreeControlNode:[function(e,t,n){"use strict";cc._RF.push(t,"19b38FvGj1NHY6yYYMoBAFV","BasicTreeControlNode");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),i=0;for(t=0;t<n;t++)for(var a=arguments[t],r=0,s=a.length;r<s;r++,i++)o[i]=a[r];return o};Object.defineProperty(n,"__esModule",{value:!0});var r=e("../Data/CommonDataType"),s=e("../Event/EventName"),c=e("../Event/EventManager"),u=e("../Tool/Tool"),l=function(e){function t(t,n,o,i,a,r){var u=e.call(this,t,n,o,r)||this;return u.childs=a||new Map,u._currentChilds=new Array,u.behaviorTreeConfig=i,u.childs.forEach(function(e,t){e.precondition.priority=u.behaviorTreeConfig.priority[t]}),u.childs.forEach(function(e){u.addComponentIntance(e)}),c.default.onEvent(s.EventName.Behavior.Behavior_SetBehaviorData,u,u.onSetBehaviorData),c.default.onEvent(s.EventName.Behavior.Behavior_SetPreconditionData,u,u.onPreconditionData),c.default.onEvent(s.EventName.Behavior.Behavior_GetBehaviorData,u,u.onGetBehaviorData),c.default.onEvent(s.EventName.Behavior.Behavior_EnterBehavior,u,u.enter),c.default.onEvent(s.EventName.Behavior.Behavior_ForceEnterBehavior,u,u.forceEnter),c.default.onEvent(s.EventName.Behavior.Behavior_LeaveBehavior,u,u.leave),c.default.onEvent(s.EventName.Behavior.Behavior_ForceLeaveBehavior,u,u.forceLeave),u}return i(t,e),t.prototype._update=function(e){for(var t in this._currentChilds)1==this.childs.get(this.currentChilds[t]).enabled&&this.childs.get(this.currentChilds[t])._update(e)},Object.defineProperty(t.prototype,"currentChilds",{get:function(){return[].concat(this._currentChilds)},enumerable:!1,configurable:!0}),t.prototype.isCurrentChild=function(e){return-1!=this._currentChilds.indexOf(e)},t.prototype.setChild=function(e,t){var n=this.childs.get(e);null!=n&&n._destroy(),this.childs.set(e,t)},t.prototype.getChild=function(e){return this.childs.get(e)},t.prototype.onSetBehaviorData=function(e,t){null!=this.getChild(e)&&(this.getChild(e).customData=u.default.dataAllCover(this.getChild(e).customData,t))},t.prototype.onPreconditionData=function(e,t){null!=this.getChild(e)&&(this.getChild(e).precondition.customData=u.default.dataAllCover(this.getChild(e).precondition.customData,t))},t.prototype.onGetBehaviorData=function(e,t){this.id==e&&t(this._currentChilds)},t.prototype.isEnter=function(e){for(var t,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(0==this.childs.has(e))return r._ECommonState.Fail;var i=r._ECommonState.None;if(0==this._currentChilds.length||-1!=this._currentChilds.indexOf(e))i=(t=this.childs.get(e)).getPreconditionResule.apply(t,a([e],n))==r._ECommonState.Success?r._ECommonState.Success:r._ECommonState.Fail;else{var s=void 0;for(var c in this._currentChilds){if(null==(s=this.childs.get(this._currentChilds[c]))||s.getPreconditionResule.apply(s,a([e],n))!=r._ECommonState.Success){i=r._ECommonState.Fail;break}i=r._ECommonState.Success}}return i},t.prototype.forceEnter=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this._enter.apply(this,a([e],t))},t.prototype.forceLeave=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this._leave.apply(this,a([e],t))},t.prototype.enter=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(0!=this.childs.has(e))if(this.isEnter.apply(this,a([e],t))==r._ECommonState.Success)this._enter.apply(this,a([e],t));else{var o=this.childs.get(e);o.enterFail.apply(o,t)}},t.prototype._enter=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(0!=this.childs.has(e)){var o=this.childs.get(e);-1!=this._currentChilds.indexOf(e)?o.enterAgain.apply(o,t):(this._currentChilds.push(e),this.leaveMutexChild(e),o.enter.apply(o,t))}},t.prototype._leave=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(0!=this.childs.has(e)){var o=this.childs.get(e);o.leave.apply(o,t);var i=this._currentChilds.indexOf(e);-1!=i&&this._currentChilds.splice(i,1)}},t.prototype.leaveMutexChild=function(e){var t=this;if(null!=this.behaviorTreeConfig){var n=this.behaviorTreeConfig.mutexChild[e],o=this.behaviorTreeConfig.compatibilityChild[e];if(null==n&&null==o)this.currentChilds.forEach(function(n){n!=e&&t._leave(n)});else if(null!=n)for(var i=0;i<this.currentChilds.length;i++)this.currentChilds[i]!=e&&1==n.includes(this.currentChilds[i])&&1==this.isCurrentChild(this.currentChilds[i])&&(this._leave(this.currentChilds[i]),i--);else if(null!=o)for(i=0;i<this.currentChilds.length;i++)this.currentChilds[i]!=e&&0==o.includes(this.currentChilds[i])&&1==this.isCurrentChild(this.currentChilds[i])&&(this._leave(this.currentChilds[i]),i--)}},t}(e("./BasicTreeBehaviorNode").default);n.default=l,cc._RF.pop()},{"../Data/CommonDataType":"CommonDataType","../Event/EventManager":"EventManager","../Event/EventName":"EventName","../Tool/Tool":"Tool","./BasicTreeBehaviorNode":"BasicTreeBehaviorNode"}],BasicTreeDecisionNode:[function(e,t,n){"use strict";cc._RF.push(t,"b0170niTLdC0J1Xc/LR7pwG","BasicTreeDecisionNode");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),i=0;for(t=0;t<n;t++)for(var a=arguments[t],r=0,s=a.length;r<s;r++,i++)o[i]=a[r];return o};Object.defineProperty(n,"__esModule",{value:!0});var r=function(e){function t(t,n,o,i,a,r){var s=e.call(this,t,n,o,i,a,r)||this;return s.recordEnter=[],s.recordLeave=[],s}return i(t,e),t.prototype.setChild=function(t,n){e.prototype.setChild.call(this,t,n)},t.prototype.getChild=function(e){return this.childs.get(e)},t.prototype._enter=function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];0!=this.childs.has(t)&&(e.prototype._enter.apply(this,a([t],n)),this.recordEnter.push(t))},t.prototype._leave=function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];0!=this.childs.has(t)&&(e.prototype._leave.apply(this,a([t],n)),this.recordLeave.push(t))},t}(e("./BasicTreeControlNode").default);n.default=r,cc._RF.pop()},{"./BasicTreeControlNode":"BasicTreeControlNode"}],BasicTreePreconditionNode:[function(e,t,n){"use strict";cc._RF.push(t,"b8ea51XEyFBp79PNIF35MZp","BasicTreePreconditionNode");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),i=0;for(t=0;t<n;t++)for(var a=arguments[t],r=0,s=a.length;r<s;r++,i++)o[i]=a[r];return o};Object.defineProperty(n,"__esModule",{value:!0});var r=e("../Data/CommonDataType"),s=function(e){function t(t,n){void 0===t&&(t=0);var o=e.call(this)||this;return o._priority=t,o._precondition=n,null!=o._precondition&&o.addComponentIntance(o._precondition),o}return i(t,e),Object.defineProperty(t.prototype,"priority",{get:function(){return this._priority},set:function(e){this._priority=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"precondition",{get:function(){return this._precondition},enumerable:!1,configurable:!0}),t.prototype.getPreconditionResule=function(e){for(var t,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return null==this._precondition?r._ECommonState.Success:(t=this._precondition).enter.apply(t,a([e],n))},t.prototype.enter=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=this.parent.parent,i=[];null!=o.behaviorTreeConfig&&(i=o.behaviorTreeConfig.compatibilityChild[this.parent.type]);var s=o.getChild(e);return null==s?r._ECommonState.Success:(this.priority<=s.precondition.priority||null!=i&&1==i.includes(e))&&this.getPreconditionResule.apply(this,a([e],t))==r._ECommonState.Success&&this._enter.apply(this,a([e],t))==r._ECommonState.Success?r._ECommonState.Success:r._ECommonState.Fail},t}(e("./BasicObject").default);n.default=s,cc._RF.pop()},{"../Data/CommonDataType":"CommonDataType","./BasicObject":"BasicObject"}],BasicView:[function(e,t,n){"use strict";cc._RF.push(t,"80d5emaycBP+Kjmieqa5osY","BasicView");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../Event/EventManager"),r=e("../Event/EventName"),s=e("../Tool/Tool"),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.initView=function(e,t){this.fgui=e,this.customData=t,this.resize(),this._initView(),a.default.onEvent(r.EventName.Time.Time_Pause,this,this.pauseView),a.default.onEvent(r.EventName.Time.Time_Resume,this,this.resumeView)},t.prototype.refreshView=function(){this._refreshView()},t.prototype.clearView=function(){this._clearView()},t.prototype.pauseView=function(){},t.prototype.resumeView=function(){},t.prototype.resize=function(){},t.prototype._destroy=function(){s.default.Tool2D.Button.removeEvent(null,this.fgui.id),e.prototype._destroy.call(this),this.node.destroy()},t}(e("./BasicObject").default);n.default=c,cc._RF.pop()},{"../Event/EventManager":"EventManager","../Event/EventName":"EventName","../Tool/Tool":"Tool","./BasicObject":"BasicObject"}],BehaviorEventName:[function(e,t,n){"use strict";cc._RF.push(t,"ed99dRR/shAA5YX5W6lO5Sf","BehaviorEventName"),Object.defineProperty(n,"__esModule",{value:!0});n.default=function(){this.Behavior_SetBehaviorData="Behavior_SetBehaviorData",this.Behavior_GetBehaviorData="Behavior_GetBehaviorData",this.Behavior_SetPreconditionData="Behavior_SetPreconditionData",this.Behavior_EnterBehavior="Behavior_EnterBehavior",this.Behavior_LeaveBehavior="Behavior_LeaveBehavior",this.Behavior_ForceEnterBehavior="Behavior_ForceEnterBehavior",this.Behavior_ForceLeaveBehavior="Behavior_ForceLeaveBehavior"},cc._RF.pop()},{}],BuffEventName:[function(e,t,n){"use strict";cc._RF.push(t,"9712e4eds1DeLMfkhV9AzR9","BuffEventName"),Object.defineProperty(n,"__esModule",{value:!0});n.default=function(){this.Buff_CreateBuff="Buff_CreateBuff",this.Buff_StartRunBuff="Buff_StartRunBuff",this.Buff_RunBuff="Buff_RunBuff",this.Buff_RemoveBuff="Buff_RemoveBuff",this.Buff_RemoveUnitBuff="Buff_RemoveUnitBuff",this.Buff_RemoveUnitBuffByBuffID="Buff_RemoveUnitBuffByBuffID"},cc._RF.pop()},{}],ChickenList:[function(e,t,n){"use strict";cc._RF.push(t,"e985c4WU1lPmKfkUDECFNft","ChickenList");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../../Engine/Basic/BasicObject"),r=e("../../../Engine/Event/EventManager"),s=e("../../../Engine/Time/TimeManager"),c=e("../../../Engine/Tool/Tool/CreateID"),u=e("../../Event/GameEventName"),l=e("../Data/Unit/UnitConfig"),f=function(e){function t(t,n,o,i){var a=e.call(this)||this;a.endCount=0,a.index=t,a.list=[],a.hitCount=new Map,a.surplusCount=new Map,a.showCount=[],a.bezierTimeCount=[[0,0]],a.endCount=0,a.createCount=0,a.scale=cc.v2(1-.1*t,1-.1*t),r.default.onEvent(u.default.Game_ReadyStartGame,a,a.onReadyStartGame),r.default.onEvent(u.default.Unit.Unit_CreateUnitComplete,a,a.bezier),r.default.onEvent(u.default.Unit.Unit_ReuseUnit,a,a.bezier),r.default.onEvent("BezierEnd",a,a.onBezierEnd),r.default.onEvent("HitChicken",a,a.onHitChicken);for(var s=0;s<8;s++){var f=c.default.createID()+"";a.list.push(f)}a.showChicken();for(var h=0;h<8;h++){var p={type:l._EUnitType.Chicken,unitID:a.list[h],teamID:""+(t+1),parent:i,pos:n[0],pos2:n[2],scale:a.scale,bezierPos:n,hitPos:o,isDestroy:!1};r.default.sendEvent(u.default.Unit.Unit_CreateUnit,p)}return a}return i(t,e),t.prototype.onReadyStartGame=function(){var e=this;this.bezierTimeCount=[[0,0]],this.endCount=0,this.createCount=0,this.hitCount.clear(),this.surplusCount.clear(),this.unscheduleAllCallbacks(),this.showChicken();var t={type:l._EUnitType.Chicken,unitID:null,teamID:"123456789",isLiving:!1,callback:function(t){for(var n=0;n<e.showCount.length;n++){var o=t.get(e.showCount[n]);e.bezier(o)}}};r.default.sendEvent(u.default.Unit.Unit_GetUnit,t)},t.prototype.bezier=function(e){0!=this.list.includes(e.id)&&(1==this.index&&e.fgui.setPosition(e.createUnit.pos2.x,e.createUnit.pos2.y),1==this.showCount.includes(e.id)?(s.default.scheduleOnce(this,function(){e.isHit=!1,e.bezier()},.4*(2-this.scale.x)*(e.bezierTime.min/e.bezierTime.max)*this.createCount),this.createCount++):e.isHit=!0)},t.prototype.onBezierEnd=function(e){var t=this;if(0!=this.list.includes(e.id)){var n=!1;for(var o in this.bezierTimeCount)if(this.bezierTimeCount[o][0]==parseInt(e.id)){this.bezierTimeCount[o][1]++,n=!0;break}if(0==n&&this.bezierTimeCount.push([parseInt(e.id),1]),this.bezierTimeCount.sort(function(e,t){return t[1]-e[1]}),this.endCount++,this.endCount==this.showCount.length-this.hitCount.size){var i;this.endCount=0;var a={type:l._EUnitType.Chicken,unitID:null,teamID:""+(this.index+1),isLiving:!1,callback:function(e){i=e}};if(r.default.sendEvent(u.default.Unit.Unit_GetUnit,a),this.hitCount.size==this.showCount.length-1)e.setBezierTime(this.bezierTimeCount[0][1]),e.bezier(),s.default.scheduleOnce(this,function(){for(var e,n=0;n<t.showCount.length;n++)if(1==t.hitCount.has(t.showCount[n]))e=t.hitCount.get(t.showCount[n]);else{var o=i.get(t.showCount.splice(n,1)[0]);n--,t.surplusCount.set(o.id,o)}t.onHitChicken(e),t.surplusCount.forEach(function(e){t.showCount.push(e.id)})},1*(2-this.scale.x)*(e.bezierTime.min/e.bezierTime.max));else{var c=0==this.surplusCount.size?0:1;this.surplusCount.forEach(function(e){e.setBezierTime(t.bezierTimeCount[0][1]),e.bezier()}),s.default.scheduleOnce(this,function(){var e,n=0,o=function(){e=i.get(t.showCount[n]),0==t.hitCount.has(e.id)&&0==t.surplusCount.has(e.id)&&(e.setBezierTime(t.bezierTimeCount[0][1]),e.bezier()),++n>=t.showCount.length&&t.unschedule(o)};o(),s.default.schedule(t,o,.4*(2-t.scale.x)*(e.bezierTime.min/e.bezierTime.max)*n)},c*(2-this.scale.x)*(e.bezierTime.min/e.bezierTime.max))}}}},t.prototype.onHitChicken=function(e){var t=this;if(0!=this.list.includes(e.id)){var n;this.hitCount.set(e.id,e),this.surplusCount.delete(e.id);var o=[],i={type:l._EUnitType.Chicken,unitID:null,teamID:""+(this.index+1),isLiving:!1,callback:function(e){n=e}};if(r.default.sendEvent(u.default.Unit.Unit_GetUnit,i),this.hitCount.size==this.showCount.length){this.showChicken();for(var a=0;a<this.showCount.length;a++){var c=n.get(this.showCount[a]);o.push(c)}var f=Math.random(),h=function(){e=o.shift(),t.surplusCount.size>0?t.surplusCount.forEach(function(t){e.fgui.setPosition(t.bezierPos[0].x,t.bezierPos[0].y)}):f<=.5?e.fgui.setPosition(e.createUnit.pos.x,e.createUnit.pos.y):e.fgui.setPosition(e.createUnit.pos2.x,e.createUnit.pos2.y),e.setBezierTime(t.bezierTimeCount[0][1]),e.reset(),0==o.length&&(t.hitCount.clear(),t.unschedule(h))};h(),s.default.schedule(this,h,.4*(2-this.scale.x)*(e.bezierTime.min/e.bezierTime.max))}else if(this.showCount.length-this.hitCount.size==this.endCount)for(this.endCount=0,a=0;a<this.showCount.length;a++)0==this.hitCount.has(this.showCount[a])&&this.onBezierEnd(n.get(this.showCount[a]))}},t.prototype.showChicken=function(){var e=this;this.showCount=this.list.slice(0,4);for(var t=4;t<this.list.length;t++)Math.random()<.5&&this.showCount.push(this.list[t]);this.surplusCount.forEach(function(t){e.showCount.splice(e.showCount.indexOf(t.id),1)})},t}(a.default);n.default=f,cc._RF.pop()},{"../../../Engine/Basic/BasicObject":"BasicObject","../../../Engine/Event/EventManager":"EventManager","../../../Engine/Time/TimeManager":"TimeManager","../../../Engine/Tool/Tool/CreateID":"CreateID","../../Event/GameEventName":"GameEventName","../Data/Unit/UnitConfig":"UnitConfig"}],Chicken:[function(e,t,n){"use strict";cc._RF.push(t,"3078ak9Qv5EIbQgs44nGnEh","Chicken");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../../Engine/Component/Object/FrameAnimation"),r=e("../../../Engine/Event/EventManager"),s=e("../../../Engine/Time/TimeManager"),c=e("../../../Engine/Tool/Tool"),u=e("../../../Engine/Tool/Tool/CreateID"),l=e("../../../Engine/Tool/Tool/Eval"),f=e("../../Data/GameDataType"),h=e("../../Event/GameEventName"),p=e("../../Unit/Unit"),d=e("../Data/GameMusicResData"),_=e("../Data/Unit/UnitConfig"),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"fgui",{get:function(){return this.chicken},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return _._EUnitType.Chicken},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bezierTime",{get:function(){return this._bezierTime},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bezierPos",{get:function(){return this._bezierPos},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hitTime",{get:function(){return 0==this._hitTime?Date.now():this._hitTime},enumerable:!1,configurable:!0}),t.prototype.createNode=function(){this.chicken=fgui.UIPackage.createObject("AttackChickenView","Chicken").asCom,this.createUnit.parent.addChild(this.chicken),this.chicken.setPivot(.5,.5,!0),this.fgui.setPosition(this.createUnit.pos.x,this.createUnit.pos.y),this.chicken.getChildAt(1).setScale(this.createUnit.scale.x,this.createUnit.scale.y),this.chicken.node.zIndex=-1,this.chicken._children[0].visible=!1,this.isHit=null;var e=Math.abs(this.fgui.x-this.createUnit.bezierPos[2].x)/15*(2+.5*(parseInt(this.createUnit.teamID)-1));this._bezierTime={min:e,max:e,value:0},r.default.onEvent(h.default.Game_ReadyStartGame,this,this.onReadyStartGame,1),r.default.onEvent(h.default.Game_EndGame,this,this.onEndGame)},t.prototype.createComponents=function(){for(var e={target:this.chicken._children[1].asCom,animations:[]},t=0;t<1;t++){for(var n={name:"Move",loop:0,res:[],frame:l.default.eval("1/8")},o=1;o<7;o++)n.res.push("ui://AttackChickenView/"+o);e.animations.push(n)}this.frameAnimation=this.addComponentIntance(new a.default(e)),this.frameAnimation.id=this.id,this.frameAnimation.play("Move")},t.prototype._update=function(){if(0==this.isHit&&null!=this._bezierTime&&this._bezierTime.value<this._bezierTime.min)if(this._bezierTime.value++,this._bezierTime.value>=this._bezierTime.min)this.fgui.x=this._bezierPos[2].x,this.fgui.y=this._bezierPos[2].y,r.default.sendEvent("BezierEnd",this);else{var e=this._bezierTime.value/this._bezierTime.min;this.fgui.x=c.default.bezier(this._bezierPos[0].x,this._bezierPos[1].x,this._bezierPos[2].x,e),this.fgui.y=c.default.bezier(this._bezierPos[0].y,this._bezierPos[1].y,this._bezierPos[2].y,e),this.fgui.rotation=c.default.getAngle(cc.winSize.width/2,5e3,this.fgui.x,this.fgui.y)}},t.prototype.onReadyStartGame=function(){this._bezierTime.min=this._bezierTime.max,this._bezierTime.value=this._bezierTime.min,this.isHit=null,this._hitTime=0,this.fgui.setPosition(-1e3,-1e3)},t.prototype.onEndGame=function(){var e=this;c.default.Tween.destroy(this.id),s.default.scheduleOnce(this,function(){e.reset(),e.isHit=null,e.fgui.setPosition(-1e3,-1e3)},1)},t.prototype.setBezierTime=function(e){for(var t=0;t<e;)t++,this._bezierTime.min>this._bezierTime.max/2?this._bezierTime.min=this._bezierTime.max-this._bezierTime.max*(.1*(t-1)+.25):t=e},t.prototype.reset=function(){this.chicken.node.zIndex=-1,this.chicken.alpha=1,this.chicken.getChildAt(1).setScale(this.createUnit.scale.x,this.createUnit.scale.y),this.chicken.getChildAt(1).rotation=0,this.frameAnimation.play("Move"),this.isHit=!1,this._hitTime=0,this.bezier()},t.prototype.bezier=function(){1!=this.isHit&&(this.isHit=!1,this._hitTime=0,this._bezierTime.value=0,this.chicken.x<=cc.winSize.width?(this.chicken.scaleX=Math.abs(this.chicken.scaleX),this._bezierPos=[this.createUnit.bezierPos[0],this.createUnit.bezierPos[1],this.createUnit.bezierPos[2]]):(this.chicken.scaleX=-Math.abs(this.chicken.scaleX),this._bezierPos=[this.createUnit.bezierPos[2],this.createUnit.bezierPos[1],this.createUnit.bezierPos[0]]),this.fgui.y=this.createUnit.pos.y,this.fgui.visible=!0)},t.prototype.hit=function(){var e=this;if(1==this.isHit)return this._hitTime;this.isHit=!0,this._hitTime=Date.now(),this._bezierTime.value=this._bezierTime.max,this.chicken._children[1].asLoader.url="ui://AttackChickenView/7",this.chicken._children[1].scaleX=this.chicken.x>=cc.winSize.width/2?this.createUnit.scale.x:-this.createUnit.scale.x,this.chicken.node.zIndex=-2,this.frameAnimation.stop();var t={type:_._EUnitType.Feather,unitID:u.default.createID()+"",teamID:f.ConstObject.MeTeamID,parent:this.fgui.parent,pos:cc.v2(this.fgui.x,this.fgui.y),scale:this.createUnit.scale,isDestroy:!0};r.default.sendEvent(h.default.Unit.Unit_CreateUnit,t);var n={type:_._EUnitType.Score,unitID:u.default.createID()+"",teamID:f.ConstObject.MeTeamID,parent:this.fgui.parent,pos:cc.v2(this.fgui.x,this.fgui.y),isDestroy:!0};return r.default.sendEvent(h.default.Unit.Unit_CreateUnit,n),c.default.Tween.tweenTo(this,cc.tween(this.chicken._children[1]).to(.8,{scaleX:.3*this.createUnit.scale.x,scaleY:.3*this.createUnit.scale.y,rotation:(720+360*Math.random())*this.chicken._children[1].scaleX}).start()),c.default.Tween.tweenTo(this,cc.tween(this.fgui).to(.3,{x:this.fgui.x+this.createUnit.hitPos.x*this.chicken._children[1].scaleX,y:this.fgui.y-this.createUnit.hitPos.y}).to(.5,{y:this.fgui.y+10}).call(function(){e.fgui.alpha=0,r.default.sendEvent("HitChicken",e)}).start()),r.default.sendEvent(h.default.Music.Music_PlaySound,d.default.Fist),r.default.sendEvent(h.default.Music.Music_PlaySound,d.default.Chicken),this._hitTime},t}(p.default);n.default=v,cc._RF.pop()},{"../../../Engine/Component/Object/FrameAnimation":"FrameAnimation","../../../Engine/Event/EventManager":"EventManager","../../../Engine/Time/TimeManager":"TimeManager","../../../Engine/Tool/Tool":"Tool","../../../Engine/Tool/Tool/CreateID":"CreateID","../../../Engine/Tool/Tool/Eval":"Eval","../../Data/GameDataType":"GameDataType","../../Event/GameEventName":"GameEventName","../../Unit/Unit":"Unit","../Data/GameMusicResData":"GameMusicResData","../Data/Unit/UnitConfig":"UnitConfig"}],CommonDataType:[function(e,t,n){"use strict";cc._RF.push(t,"7bd79j5vfJMh7UstNIeV+L0","CommonDataType"),Object.defineProperty(n,"__esModule",{value:!0}),n._EDirection=n._ECommonState=n._EViewRes=n._EJsonRes=n._ELanguageType=void 0,function(e){e.Chinese="Chinese",e.English="English"}(n._ELanguageType||(n._ELanguageType={})),function(e){e.GameConfig="GameConfig",e.ResGroup="ResGroup",e.GameBehaviorTree="GameBehaviorTree",e.ViewConfig="ViewConfig",e.MusicConfig="MusicConfig"}(n._EJsonRes||(n._EJsonRes={})),function(e){e.Fgui="fgui",e.Cocos="cocos"}(n._EViewRes||(n._EViewRes={})),function(e){e[e.None=0]="None",e[e.Pause=1]="Pause",e[e.Runing=2]="Runing",e[e.Success=3]="Success",e[e.Fail=4]="Fail"}(n._ECommonState||(n._ECommonState={})),function(e){e[e.Up=0]="Up",e[e.Down=1]="Down",e[e.Left=2]="Left",e[e.Right=3]="Right"}(n._EDirection||(n._EDirection={})),cc._RF.pop()},{}],ComponentEventName:[function(e,t,n){"use strict";cc._RF.push(t,"41852fPweBECJxiaGOlWZeJ","ComponentEventName"),Object.defineProperty(n,"__esModule",{value:!0});n.default=function(){this.Popup_Hide="Popup_Hide"},cc._RF.pop()},{}],CreateID:[function(e,t,n){"use strict";cc._RF.push(t,"3e030iDawBLNYCR/q0gPJV9","CreateID"),Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(){}return e.createID=function(){return this.count++,Date.now()+this.count},e.count=0,e}();n.default=o,cc._RF.pop()},{}],DataManager:[function(e,t,n){"use strict";cc._RF.push(t,"b5efcE52pRHtKyEeT52BsLZ","DataManager");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../Engine/Basic/BasicManager"),r=e("../../Engine/Tool/Tool"),s=e("../User/UserData"),c=function(e){function t(){var t=e.call(this)||this;return r.default.log("\u751f\u6210\u6570\u636e\u7ba1\u7406\u5668"),t.userData=new s.default,t}return i(t,e),t.prototype._destroy=function(){r.default.log("\u9500\u6bc1\u6570\u636e\u7ba1\u7406\u5668"),this.userData._destroy(),this.userData=null,e.prototype._destroy.call(this)},t}(a.default);n.default=c,cc._RF.pop()},{"../../Engine/Basic/BasicManager":"BasicManager","../../Engine/Tool/Tool":"Tool","../User/UserData":"UserData"}],EffectEventName:[function(e,t,n){"use strict";cc._RF.push(t,"6ad073Mo5NFL7287ft9BfVG","EffectEventName"),Object.defineProperty(n,"__esModule",{value:!0});n.default=function(){this.Effect_CreateEffect="Effect_CreateEffect",this.Effect_RemoveEffect="Effect_RemoveEffect"},cc._RF.pop()},{}],Engine:[function(e,t,n){"use strict";cc._RF.push(t,"6acd4k2NN9K+ordoHjldIuc","Engine");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("./Basic/BasicObject"),r=e("./Event/EventManager"),s=e("./Event/EventName"),c=e("./Music/MusicManager"),u=e("./Time/TimeManager"),l=e("./Tool/Tool"),f=e("./View/ViewManager"),h=function(e){function t(t){var n=e.call(this)||this;return l.default.log("\u542f\u52a8\u5f15\u64ce"),n.managers=new Array,r.default.create(),n.managers.push(new f.default),n.managers.push(new c.default),n.managers.push(new u.default),t(n),l.default.log("\u542f\u52a8\u5b8c\u6bd5"),l.default.log(""),r.default.onEvent(s.EventName.Game_QuitGame,n,function(){for(var e in l.default.log("\u5173\u95ed\u5f15\u64ce"),n.managers)n.managers[e]._destroy();n.managers=null,n._destroy(),r.default.destroy(),cc.assetManager.releaseAll(),l.default.log("\u9000\u51fa\u6e38\u620f")}),n}return i(t,e),t}(a.default);n.default=h,cc._RF.pop()},{"./Basic/BasicObject":"BasicObject","./Event/EventManager":"EventManager","./Event/EventName":"EventName","./Music/MusicManager":"MusicManager","./Time/TimeManager":"TimeManager","./Tool/Tool":"Tool","./View/ViewManager":"ViewManager"}],Eval:[function(e,t,n){"use strict";cc._RF.push(t,"430dcN+hN5MhKYrfE+atR8i","Eval"),Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(){}return e.isOperator=function(e){return"+-*/()".indexOf(e)>-1},e.getPrioraty=function(e){switch(e){case"+":case"-":return 1;case"*":case"/":return 2;default:return 0}},e.prioraty=function(e,t){return this.getPrioraty(e)<=this.getPrioraty(t)},e.dal2Rpn=function(e){for(var t=[],n=[],o=[],i="",a=0,r=e.length;a<r;a++)" "!=(s=e[a])&&(i+=s,a+1<e.length?this.isOperator(e[a])?(t.push(i),i=""):this.isOperator(e[a+1])&&(t.push(i),i=""):(t.push(i),i=""));for(;t.length>0;){var s=t.shift();if(this.isOperator(s))if("("==s)n.push(s);else if(")"==s){for(var c=n.pop();"("!=c&&n.length>0;)o.push(c),c=n.pop();if("("!=c)throw"error: unmatched ()"}else{for(;this.prioraty(s,n[n.length-1])&&n.length>0;)o.push(n.pop());n.push(s)}else o.push(new Number(s))}if(n.length>0){if(")"==n[n.length-1]||"("==n[n.length-1])throw"error: unmatched ()";for(;n.length>0;)o.push(n.pop())}return o},e.eval=function(e){for(var t=this.dal2Rpn(e),n=[];t.length>0;){var o=t.shift();if(this.isOperator(o)){if(n.length<2)throw"unvalid stack length";var i=n.pop(),a=n.pop();n.push(this.getResult(a,i,o))}else n.push(o)}if(1!=n.length)throw"unvalid expression";return n[0]},e.getResult=function(e,t,n){var o=0;switch(n){case"+":o=e+t;break;case"-":o=e-t;break;case"*":o=e*t;break;case"/":o=e/t;break;default:return 0}return o},e}();n.default=o,cc._RF.pop()},{}],EventManager:[function(e,t,n){"use strict";cc._RF.push(t,"227b8wGCoFJ6Jv9vxrbKI5v","EventManager"),Object.defineProperty(n,"__esModule",{value:!0});var o=e("../Basic/BasicEvent"),i=e("../Tool/Tool"),a=function(){function e(){}return e.create=function(){i.default.log("\u751f\u6210\u4e8b\u4ef6\u7ba1\u7406\u5668"),this.nameEvent=new Map,this.targetEvent=new Map,this.eventTarget=new Map,this.isEventPropagation=new Map},e.destroy=function(){i.default.log("\u9500\u6bc1\u4e8b\u4ef6\u7ba1\u7406\u5668"),this.nameEvent.forEach(function(e){for(var t=0;t<e.length;t++)e[t]=null}),this.nameEvent=null,this.targetEvent=null,this.eventTarget=null,this.isEventPropagation=null},e.onEvent=function(e,t,n,i,a){var r=this,s=new o.default;s.event=e,s.target=t,s.callback=n,s.priority=i||0,s.once=a||!1,s.stopPropagation=function(){r.isEventPropagation.set(s.event,!1)};var c=[];0==this.nameEvent.has(s.event)&&this.nameEvent.set(s.event,[]),(c=this.nameEvent.get(s.event)).push(s),this.nameEvent.set(s.event,c);var u=[];0==this.targetEvent.has(s.target)&&this.targetEvent.set(s.target,[]),(u=this.targetEvent.get(s.target)).push(s),this.targetEvent.set(s.target,u);var l=[];if(0==this.eventTarget.has(t.id)&&this.eventTarget.set(t.id,[]),-1==(l=this.eventTarget.get(t.id)).indexOf(t)&&(l.push(t),this.eventTarget.set(t.id,l)),c.length>0){c.sort(function(e,t){return t.priority-e.priority});for(var f=[],h=0;h<c.length;h++)for(var p=0;p<l.length;p++)if(c[h].target==l[p]){f.push(l[p]),l.splice(p,1);break}l=f.concat(l),this.eventTarget.set(t.id,l)}},e.offEvent=function(e,t,n){var o=this.nameEvent.get(e);if(null!=o)for(var i=0;i<o.length;i++){var a=o[i];if(n==a.callback&&a.target.id==t.id){o.splice(i,1),i--;for(var r=this.targetEvent.get(a.target),s=0;s<r.length;s++)(e==r[s].event&&n==a.callback||null==r[s].target)&&(r.splice(s,1),s--);this.targetEvent.set(a.target,r)}}},e.offEventByTarget=function(e){var t=this.targetEvent.get(e);if(null!=t){for(var n=0;n<t.length;n++){for(var o=t[n],i=this.nameEvent.get(o.event),a=0;a<i.length;a++)o.target!=i[a].target&&null!=i[a].target||(i.splice(a,1),a--);this.nameEvent.set(o.event,i)}this.targetEvent.delete(e),this.eventTarget.delete(e.id)}},e.sendEvent=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(null!=this.nameEvent&&0!=this.nameEvent.has(e)){this.isEventPropagation.set(e,!0);for(var o=this.nameEvent.get(e).concat([]),i=0;i<o.length;i++){var a=o[i];if(null!=a.target&&(1==a.target.isEnabled||1==a.target.enabled)){var r=[].concat(t).concat([a]);a.callback.apply(a.target,r),1==a.once&&this.offEvent(a.event,a.target,a.callback)}}}},e.sendEventByTargetID=function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];if(null!=this.nameEvent&&0!=this.nameEvent.has(e)){this.isEventPropagation.set(e,!0);var i=this.eventTarget.get(t);for(var a in i)for(var r=this.targetEvent.get(i[a]),s=0;s<r.length;s++){var c=r[s];if(e==c.event&&(1==c.target.isEnabled||1==c.target.enabled)){var u=[].concat(n).concat([c]);c.callback.apply(c.target,u),1==c.once&&this.offEvent(c.event,c.target,c.callback);break}}}},e}();n.default=a,cc._RF.pop()},{"../Basic/BasicEvent":"BasicEvent","../Tool/Tool":"Tool"}],EventName:[function(e,t,n){"use strict";cc._RF.push(t,"daa71ti4HZM/KfxjMLswC3H","EventName"),Object.defineProperty(n,"__esModule",{value:!0}),n.EventName=void 0;var o=e("./BehaviorEventName"),i=e("./ComponentEventName"),a=e("./MusicEventName"),r=e("./PhoneEventName"),s=e("./ResEventName"),c=e("./TimeEventName"),u=e("./ViewEventName"),l=function(){function e(){}return e.Res=new s.default,e.Phone=new r.default,e.Behavior=new o.default,e.View=new u.default,e.Music=new a.default,e.Time=new c.default,e.Component=new i.default,e.Game_ReadyStartGame="Game_ReadyStartGame",e.Game_StartGame="Game_StartGame",e.Game_EndGame="Game_EndGame",e.Game_QuitGame="Game_QuitGame",e}();n.EventName=l,cc._RF.pop()},{"./BehaviorEventName":"BehaviorEventName","./ComponentEventName":"ComponentEventName","./MusicEventName":"MusicEventName","./PhoneEventName":"PhoneEventName","./ResEventName":"ResEventName","./TimeEventName":"TimeEventName","./ViewEventName":"ViewEventName"}],ExplainView:[function(e,t,n){"use strict";cc._RF.push(t,"b98b3gvcotBOoLjMmZmj4+V","ExplainView");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../../../Engine/Basic/BasicView"),r=e("../../../../Engine/Event/EventManager"),s=e("../../../../Engine/Time/TimeManager"),c=e("../../../../Engine/Tool/Tool"),u=e("../../../Data/GameDataType"),l=e("../../../Event/GameEventName"),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype._initView=function(){var e=this;this.explain=this.fgui.getChild("explain").asLoader,c.default.Tool2D.Button.addEvent(this.fgui,{touchend:function(){1==u.ConstObject.IsEnableTouch&&e.close()}},this.fgui.id,1,1),this.a0(),r.default.onEvent(l.default.SDK.SDK_Action,this,this.close),r.default.onEvent(l.default.SDK.SDK_Up,this,this.close),r.default.onEvent(l.default.SDK.SDK_Down,this,this.close),r.default.onEvent(l.default.SDK.SDK_Confirm,this,this.close),r.default.onEvent(l.default.SDK.SDK_Cancel,this,this.close)},t.prototype._refreshView=function(){},t.prototype._clearView=function(){c.default.Tween.destroy(this.explain.id),r.default.sendEvent("CloseExplainView")},t.prototype.a0=function(){this.unschedule(this.a1),this.unschedule(this.a2),this.unschedule(this.a3),this.unschedule(this.a4),this.a1()},t.prototype.close=function(){r.default.sendEvent(l.default.View.View_DestroyView,t)},t.prototype.a1=function(){this.explain.url="ui://AttackChickenView/explain1",s.default.scheduleOnce(this,this.a2,.1)},t.prototype.a2=function(){this.explain.url="ui://AttackChickenView/explain2",s.default.scheduleOnce(this,this.a3,.25)},t.prototype.a3=function(){var e=this;this.explain.url="ui://AttackChickenView/explain3",c.default.Tween.tweenTo(this.explain,cc.tween(this.explain).to(.2,{y:this.explain.y-50},cc.easeCircleActionOut()).to(.1,{y:this.explain.y}).call(function(){e.a4()}).start())},t.prototype.a4=function(){this.explain.url="ui://AttackChickenView/explain1",s.default.scheduleOnce(this,this.a1,1)},t.resPath="ExplainView",t}(a.default);n.default=f,cc._RF.pop()},{"../../../../Engine/Basic/BasicView":"BasicView","../../../../Engine/Event/EventManager":"EventManager","../../../../Engine/Time/TimeManager":"TimeManager","../../../../Engine/Tool/Tool":"Tool","../../../Data/GameDataType":"GameDataType","../../../Event/GameEventName":"GameEventName"}],Feather:[function(e,t,n){"use strict";cc._RF.push(t,"4c8c4+VJbFCiK+qdQepLxTw","Feather");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../../Engine/Event/EventManager"),r=e("../../../Engine/Time/TimeManager"),s=e("../../../Engine/Tool/Tool"),c=e("../../Event/GameEventName"),u=e("../../Unit/Unit"),l=e("../Data/Unit/UnitConfig"),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"fgui",{get:function(){return this.feather},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return l._EUnitType.Feather},enumerable:!1,configurable:!0}),t.prototype.createNode=function(){var e=this;for(var t in this.feather=fgui.UIPackage.createObject("AttackChickenView","Feather").asCom,this.createUnit.parent.addChild(this.feather),this.feather.setPivot(.5,.5,!0),this.feather.setPosition(this.createUnit.pos.x,this.createUnit.pos.y),this.feather.setScale(this.createUnit.scale.x,this.createUnit.scale.y),this.feather.node.zIndex=-1,this.feather._children){var n=this.feather._children[t];n.visible=!0,n.rotation=360*Math.random(),n.setPosition(this.feather.width/2,this.feather.height/2);var o=200*Math.random()-100+n.y;s.default.Tween.tweenTo(n,cc.tween(n).to(.3,{x:200*Math.random()-100+n.x,y:o,rotation:720*Math.random()-360}).to(.5,{y:o+100,rotation:720*Math.random()-360,alpha:.3}).start())}r.default.scheduleOnce(this,function(){a.default.sendEvent(c.default.Unit.Unit_RemoveUnit,e.id)},.81)},t.prototype.createComponents=function(){},t}(u.default);n.default=f,cc._RF.pop()},{"../../../Engine/Event/EventManager":"EventManager","../../../Engine/Time/TimeManager":"TimeManager","../../../Engine/Tool/Tool":"Tool","../../Event/GameEventName":"GameEventName","../../Unit/Unit":"Unit","../Data/Unit/UnitConfig":"UnitConfig"}],FightEventName:[function(e,t,n){"use strict";cc._RF.push(t,"74968khv79AQ6EX9O4QCDAP","FightEventName"),Object.defineProperty(n,"__esModule",{value:!0});n.default=function(){this.Fight_FightData="Fight_FightData"},cc._RF.pop()},{}],Fist:[function(e,t,n){"use strict";cc._RF.push(t,"1a8afs0VLpKNqBhmRxiFzoR","Fist");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../../Engine/Data/CommonDataType"),r=e("../../../Engine/Event/EventManager"),s=e("../../../Engine/Tool/Tool"),c=e("../../Data/GameDataType"),u=e("../../Event/GameEventName"),l=e("../../Unit/Unit"),f=e("../Component/ArrowFly"),h=e("../Data/Unit/UnitConfig"),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"fgui",{get:function(){return this.fist},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return h._EUnitType.Fist},enumerable:!1,configurable:!0}),t.prototype.createNode=function(){this.fist=fgui.UIPackage.createObject("AttackChickenView","Fist").asCom,this.createUnit.parent.addChild(this.fist),this.fist.setPivot(.5,1,!0),this.fist.setPosition(this.createUnit.pos.x,this.createUnit.pos.y),this.fist.node.zIndex=-1,r.default.onEvent(u.default.Unit.Unit_CreateUnitComplete,this,this.ready),r.default.onEvent(u.default.Unit.Unit_ReuseUnit,this,this.ready),r.default.onEvent(u.default.SDK.SDK_Action,this,this.launch,1)},t.prototype.createComponents=function(){this.arrowFly=this.addComponentIntance(new f.default(this)),this.arrowFly.isEnabled=!1},t.prototype.ready=function(e){var t=this;e.id==this.id&&this.arrowState!=a._ECommonState.None&&this.arrowState!=a._ECommonState.Runing&&(this.fgui.visible=!0,this.fist.setPosition(cc.winSize.width/2,cc.winSize.height+this.fist.height),this.fist.setScale(1,1),this.arrowState=a._ECommonState.None,this.fist.node.zIndex=-1,s.default.Tween.destroy(this.id),s.default.Tween.tweenTo(this,cc.tween(this.fist).delay(.3).to(.2,{y:this.fist.y-this.fist.height/2},cc.easeSineOut()).call(function(){t.arrowState=a._ECommonState.Pause}).start()))},t.prototype.launch=function(){var e=this;this.arrowState>=a._ECommonState.Runing||c.ConstObject.GameState!=a._ECommonState.Runing||(this.arrowState=a._ECommonState.Runing,this.arrowFly.isEnabled=!0,this.arrowFly.launch(),s.default.Tween.destroy(this.id),s.default.Tween.destroy(this.fist.id),s.default.Tween.tweenTo(this.fist,cc.tween(this.fist).to(.5,{y:240,scaleX:.8,scaleY:.8},cc.easeQuarticActionIn()).call(function(){e.arrowFly.isEnabled=!1,e.fist.node.zIndex=-10,0==e.arrowFly.perfect&&c.ConstObject.GameState==a._ECommonState.Runing&&r.default.sendEvent(u.default.Game_EndGame),s.default.Tween.tweenTo(e.fist,cc.tween(e.fist).to(.5,{y:e.fist.y-20,scaleX:.3,scaleY:.45,alpha:.1}).call(function(){e.fist.getChild("n1").setScale(1,1),e.fist.getChild("n2").setScale(1,1),e.fist.getChild("n1").asCom.height=138,e.fist.getChild("n2").asCom.y=93,e.fist.alpha=1,e.fgui.visible=!1,e.fist.setPosition(cc.winSize.width/2,cc.winSize.height+e.fist.height),e.arrowState=a._ECommonState.Success}).start())}).start()),s.default.Tween.destroy(this.fist.getChild("n1").asCom.id),s.default.Tween.tweenTo(this.fist.getChild("n1").asCom,cc.tween(this.fist.getChild("n1").asCom).to(.5,{height:105}).start()),s.default.Tween.destroy(this.fist.getChild("n2").asCom.id),s.default.Tween.tweenTo(this.fist.getChild("n2").asCom,cc.tween(this.fist.getChild("n2").asCom).to(.5,{y:25}).to(.2,{y:15}).start()))},t}(l.default);n.default=p,cc._RF.pop()},{"../../../Engine/Data/CommonDataType":"CommonDataType","../../../Engine/Event/EventManager":"EventManager","../../../Engine/Tool/Tool":"Tool","../../Data/GameDataType":"GameDataType","../../Event/GameEventName":"GameEventName","../../Unit/Unit":"Unit","../Component/ArrowFly":"ArrowFly","../Data/Unit/UnitConfig":"UnitConfig"}],FrameAnimation:[function(e,t,n){"use strict";cc._RF.push(t,"fc4afQk3zpDUp6y0Yf7K08+","FrameAnimation");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../Basic/BasicObject"),r=e("../../Resources/ViewResources"),s=e("../../Time/TimeManager"),c=function(e){function t(t){var n=e.call(this)||this;return n.setFrameAnimations(t),n}return i(t,e),t.prototype.setFrameAnimations=function(e){this.frameAnimations=e,this.currentName=null,this.currentFrame=0},t.prototype.play=function(e,t,n){for(var o in this.frameAnimations.animations)if(this.frameAnimations.animations[o].name==e){this.currentName=this.frameAnimations.animations[o],this.currentName.loop=t||this.currentName.loop,this.currentFrame=0,this.callback=n,this.updateTexture(),this.unschedule(this._update),this.currentName.res.length>1&&s.default.schedule(this,this._update,this.currentName.frame);break}},t.prototype.stop=function(){this.currentName=null,this.currentFrame=0,this.unschedule(this._update)},t.prototype._update=function(){this.updateTexture(),this.currentFrame++,this.currentFrame>=this.currentName.res.length&&(this.currentFrame=0,this.callback&&this.callback(),this.callback=null,this.currentName.loop>0&&(this.currentName.loop--,0==this.currentName.loop&&this.unschedule(this._update)))},t.prototype.updateTexture=function(){null!=this.frameAnimations.target.uuid?0==this.currentName.res[this.currentFrame].includes("ui://")?this.frameAnimations.target.getComponent(cc.Sprite).spriteFrame=r.default.getResources(this.currentName.res[this.currentFrame]):this.frameAnimations.target.getComponent(cc.Sprite).spriteFrame=fgui.UIPackage.getByName("CommonRes").getItemAssetByName(this.currentName.res[this.currentFrame].replace("ui://","")):this.frameAnimations.target.asLoader.url=this.currentName.res[this.currentFrame],this.callback&&this.callback(),this.callback=null},t}(a.default);n.default=c,cc._RF.pop()},{"../../Basic/BasicObject":"BasicObject","../../Resources/ViewResources":"ViewResources","../../Time/TimeManager":"TimeManager"}],FrameConfig:[function(e,t,n){"use strict";cc._RF.push(t,"4721f/5uXtGBoM03Y4anpWr","FrameConfig"),Object.defineProperty(n,"__esModule",{value:!0}),cc._RF.pop()},{}],GameBehaviorTree:[function(e,t,n){"use strict";cc._RF.push(t,"30739UkRilHJp//5h8w1Tmq","GameBehaviorTree");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../Engine/Basic/BasicTreeControlNode"),r=e("../../Engine/Event/EventManager"),s=e("../Data/GameDataType"),c=e("../Event/GameEventName"),u=e("./Game_Gameing_Behavior"),l=e("./Game_Hall_Behavior"),f=e("./Game_Hall_Precondition"),h=e("./Game_InitLoad_Behavior"),p=e("./Game_Login_Behavior"),d=e("./Game_Over_Behavior"),_=e("./Game_Precondition"),v=e("./Game_WaitStart_Behavior"),m=function(e){function t(t,n){var o,i=new Map;return i.set(s._EGameBehavior.Login,new p.default(t,s._EGameBehavior.Login,s.ConstObject.GameBehaviorTreeID,new _.Game_Precondition)),i.set(s._EGameBehavior.InitLoad,new h.default(t,s._EGameBehavior.InitLoad,s.ConstObject.GameBehaviorTreeID,new _.Game_Precondition)),i.set(s._EGameBehavior.Hall,new l.default(t,s._EGameBehavior.Hall,s.ConstObject.GameBehaviorTreeID,new f.Game_Hall_Precondition)),i.set(s._EGameBehavior.WaitStart,new v.default(t,s._EGameBehavior.WaitStart,s.ConstObject.GameBehaviorTreeID,new _.Game_Precondition)),i.set(s._EGameBehavior.Gameing,new u.default(t,s._EGameBehavior.Gameing,s.ConstObject.GameBehaviorTreeID,new _.Game_Precondition)),i.set(s._EGameBehavior.Over,new d.default(t,s._EGameBehavior.Over,s.ConstObject.GameBehaviorTreeID,new _.Game_Precondition)),o=e.call(this,t,"",s.ConstObject.GameBehaviorTreeID,n,i)||this,r.default.onEvent(c.default.Game_GetGameBehavior,o,o.onGetGameBehavior),o}return i(t,e),t.prototype._enterFail=function(){},t.prototype._enterAgain=function(){},t.prototype.onGetGameBehavior=function(e){e&&e(this.currentChilds.pop())},t}(a.default);n.default=m,cc._RF.pop()},{"../../Engine/Basic/BasicTreeControlNode":"BasicTreeControlNode","../../Engine/Event/EventManager":"EventManager","../Data/GameDataType":"GameDataType","../Event/GameEventName":"GameEventName","./Game_Gameing_Behavior":"Game_Gameing_Behavior","./Game_Hall_Behavior":"Game_Hall_Behavior","./Game_Hall_Precondition":"Game_Hall_Precondition","./Game_InitLoad_Behavior":"Game_InitLoad_Behavior","./Game_Login_Behavior":"Game_Login_Behavior","./Game_Over_Behavior":"Game_Over_Behavior","./Game_Precondition":"Game_Precondition","./Game_WaitStart_Behavior":"Game_WaitStart_Behavior"}],GameDataType:[function(e,t,n){"use strict";cc._RF.push(t,"3d675krcUhKr59/2DsSvwZY","GameDataType");var o=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),i=0;for(t=0;t<n;t++)for(var a=arguments[t],r=0,s=a.length;r<s;r++,i++)o[i]=a[r];return o};Object.defineProperty(n,"__esModule",{value:!0}),n.ConstObject=n._EGameBehavior=n._EGameJsonRes=void 0;var i=e("../../Engine/Data/CommonDataType"),a=e("../../Engine/Tool/Tool/CreateID");(n._EGameJsonRes||(n._EGameJsonRes={})).UserDataConfig="UserDataConfig",function(e){e.None="None",e.Login="Login",e.InitLoad="InitLoad",e.Hall="Hall",e.WaitStart="WaitStart",e.Gameing="Gameing",e.Over="Over"}(n._EGameBehavior||(n._EGameBehavior={})),n.ConstObject={ResPath:"",MeID:a.default.createID()+"",MeTeamID:"0",GameBehaviorTreeID:a.default.createID()+"",GameState:i._ECommonState.None,components:[],addComponentIntance:function(e,t){for(var i,a=[],r=2;r<arguments.length;r++)a[r-2]=arguments[r];for(var s in n.ConstObject.components)if(null!=n.ConstObject.components[s][t]){a.length>0?e.addComponentIntance(new((i=n.ConstObject.components[s][t]).bind.apply(i,o([void 0],a)))):e.addComponentIntance(new n.ConstObject.components[s][t](e));break}},User:null,Score:0,Time:0,Perfect:0,FirstEnter:!0,IsEnableTouch:!1},cc._RF.pop()},{"../../Engine/Data/CommonDataType":"CommonDataType","../../Engine/Tool/Tool/CreateID":"CreateID"}],GameEventName:[function(e,t,n){"use strict";cc._RF.push(t,"dfd1a0xdgtEmp4hWnCg9iQf","GameEventName");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../Engine/Event/EventName"),r=e("./BuffEventName"),s=e("./EffectEventName"),c=e("./FightEventName"),u=e("./PropEventName"),l=e("./RobotEventName"),f=e("./SDKEventName"),h=e("./SkillEventName"),p=e("./UnitEventName"),d=e("./UserDataEventName"),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.UserData=new d.default,t.Unit=new p.default,t.Robot=new l.default,t.Skill=new h.default,t.Buff=new r.default,t.Effect=new s.default,t.Prop=new u.default,t.Fight=new c.default,t.SDK=new f.default,t.Game_SetGameBehavior="Game_SetGameBehavior",t.Game_GetGameBehavior="Game_GetGameBehavior",t}(a.EventName);n.default=_,cc._RF.pop()},{"../../Engine/Event/EventName":"EventName","./BuffEventName":"BuffEventName","./EffectEventName":"EffectEventName","./FightEventName":"FightEventName","./PropEventName":"PropEventName","./RobotEventName":"RobotEventName","./SDKEventName":"SDKEventName","./SkillEventName":"SkillEventName","./UnitEventName":"UnitEventName","./UserDataEventName":"UserDataEventName"}],GameManager:[function(e,t,n){"use strict";cc._RF.push(t,"cda73teI0VBSqJK3ZlcWaOl","GameManager");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../Engine/Basic/BasicManager"),r=e("../../Engine/Event/EventManager"),s=e("../../Engine/Tool/Tool"),c=e("../SDK/sdk"),u=e("./View/AttackChickenView/AttackChickenView"),l=function(e){function t(){var t=e.call(this)||this;return s.default.log("\u751f\u6210\u73a9\u6cd5\u7ba1\u7406\u5668"),t}return i(t,e),t.setGameView=function(e){r.default.sendEvent(e,u.default)},t.prototype._destroy=function(){s.default.log("\u9500\u6bc1\u73a9\u6cd5\u7ba1\u7406\u5668"),e.prototype._destroy.call(this)},t.ActionEvent=c.MOTION.MOTION_JUMP.toString(),t}(a.default);n.default=l,cc._RF.pop()},{"../../Engine/Basic/BasicManager":"BasicManager","../../Engine/Event/EventManager":"EventManager","../../Engine/Tool/Tool":"Tool","../SDK/sdk":"sdk","./View/AttackChickenView/AttackChickenView":"AttackChickenView"}],GameMusicResData:[function(e,t,n){"use strict";cc._RF.push(t,"83f84375VlPiKHoezAMpVYK","GameMusicResData");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.BGM="BGM",t.StartCountdown="StartCountdown",t.EndCountdown="EndCountdown",t.GameEnd="GameEnd",t.Fist="Fist",t.Chicken="Chicken",t}(e("../../../Engine/Data/MusicResData").default);n.default=a,cc._RF.pop()},{"../../../Engine/Data/MusicResData":"MusicResData"}],GameView:[function(e,t,n){"use strict";cc._RF.push(t,"4ca95MgfBdJ3YR70LN5fxwl","GameView");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../../Engine/Basic/BasicView"),r=e("../../../Engine/Data/CommonDataType"),s=e("../../../Engine/Event/EventManager"),c=e("../../../Engine/Tool/Tool"),u=e("../../Component/Control/KeyBoardControl"),l=e("../../Data/GameDataType"),f=e("../../Game/Data/GameMusicResData"),h=e("../../Event/GameEventName"),p=e("../../SDK/sdk"),d=e("../../SDK/SDKManager"),_=e("../InitLoadView/InitLoadView"),v=e("../PauseView/PauseView"),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype._initView=function(){var e=this;this.addComponentIntance(new u.default);var t=this.fgui.getChild("startButton").asCom;c.default.Tool2D.Button.addEvent(t,{touchend:function(){s.default.sendEvent(h.default.SDK.SDK_Confirm)}},this.fgui.id,.9,.9,0,!1),this.pauseButton=this.fgui.getChild("pauseButton").asCom,c.default.Tool2D.Button.addEvent(this.pauseButton,{touchend:function(){e.onPause()}},this.fgui.id,.9,.9,0,!1),c.default.Tool2D.Button.addEvent(this.fgui,{touchend:function(){1==l.ConstObject.IsEnableTouch&&s.default.sendEvent(h.default.SDK.SDK_Action)}},this.fgui.id,1,1,0,!1),this.fgui.getChild("time").asCom.visible=!0,p.SDK.getUserInfo(function(e){l.ConstObject.User=e,console.log(l.ConstObject.User)}),s.default.sendEvent(h.default.View.View_DestroyView,_.default),s.default.onEvent("CloseExplainView",this,function(){s.default.sendEvent(h.default.Music.Music_PlaySound,f.default.StartCountdown),e.startCountdownAnimation()}),s.default.onEvent(h.default.Fight.Fight_FightData,this,this.onFightData),s.default.onEvent(h.default.SDK.SDK_Cancel,this,this.onPause),this.onStart()},t.prototype._refreshView=function(){l.ConstObject.GameState=r._ECommonState.None,l.ConstObject.Score=0,l.ConstObject.Time=0,this.startCountdown=3,this.fgui.getChild("startButton").asCom.visible=!1,this.fgui.getChild("startText").asCom.visible=!1,this.fgui.getChild("cover").asCom.visible=!1,this.startCountdownText=this.fgui.getChild("countdown").asCom.getChild("countdown").asLoader,this.gameCountdownText=this.fgui.getChild("time").asCom.getChild("time").asTextField,this.scoreText=this.fgui.getChild("score").asCom.getChild("score").asTextField,this.startCountdownText.url="ui://GameView/3",this.gameCountdownText.text=c.default.converNumberToTimeText(l.ConstObject.Time),this.scoreText.text=""+l.ConstObject.Score,0==l.ConstObject.FirstEnter&&(this.startCountdownAnimation(),s.default.sendEvent(h.default.Music.Music_StopMusic,f.default.BGM),s.default.sendEvent(h.default.Music.Music_StopSound,f.default.EndCountdown),s.default.sendEvent(h.default.Music.Music_PlaySound,f.default.StartCountdown)),l.ConstObject.FirstEnter=!1,s.default.offEvent(h.default.Time.Time_ConstSecond,this,this.onSecond)},t.prototype._clearView=function(){d.default.removeButton()},t.prototype.resize=function(){this.fgui.width=fgui.GRoot.inst.width},t.prototype.onStart=function(){s.default.offEvent(h.default.SDK.SDK_Confirm,this,this.onStart),this._refreshView()},t.prototype.onPause=function(){l.ConstObject.GameState!=r._ECommonState.Runing&&0!=this.fgui.getChild("countdown").asCom.visible||(s.default.sendEvent(h.default.Music.Music_PlaySound,f.default.ClickButton),s.default.sendEvent(h.default.View.View_ShowView,v.default))},t.prototype.startCountdownAnimation=function(){var e=this;this.fgui.getChild("countdown").asCom.visible=!0,this.startCountdownText.parent.alpha=1,this.startCountdownText.parent.setScale(2,2),c.default.Tween.tweenTo(this,cc.tween(this.startCountdownText.parent).to(.4,{scaleX:1,scaleY:1},cc.easeSineOut()).to(.6,{alpha:0}).call(function(){e.startCountdown--,e.startCountdownText.url="ui://GameView/"+e.startCountdown,-1==e.startCountdown?(e.startCountdownText.text="",l.ConstObject.GameState=r._ECommonState.Runing,s.default.sendEvent(h.default.Music.Music_PlayMusic,f.default.BGM),s.default.sendEvent(h.default.Game_StartGame),s.default.onEvent(h.default.Time.Time_ConstSecond,e,e.onSecond)):e.startCountdownAnimation()}).start()),3==this.startCountdown&&(s.default.sendEvent(h.default.Game_ReadyStartGame),s.default.sendEvent(h.default.Music.Music_StopMusic,f.default.BGM))},t.prototype.onSecond=function(){l.ConstObject.Time++,this.gameCountdownText.text=c.default.converNumberToTimeText(l.ConstObject.Time)},t.prototype.onFightData=function(e){l.ConstObject.Score+=e,this.scoreText.text=""+l.ConstObject.Score},t.resPath="GameView",t}(a.default);n.default=m,cc._RF.pop()},{"../../../Engine/Basic/BasicView":"BasicView","../../../Engine/Data/CommonDataType":"CommonDataType","../../../Engine/Event/EventManager":"EventManager","../../../Engine/Tool/Tool":"Tool","../../Component/Control/KeyBoardControl":"KeyBoardControl","../../Data/GameDataType":"GameDataType","../../Event/GameEventName":"GameEventName","../../Game/Data/GameMusicResData":"GameMusicResData","../../SDK/SDKManager":"SDKManager","../../SDK/sdk":"sdk","../InitLoadView/InitLoadView":"InitLoadView","../PauseView/PauseView":"PauseView"}],Game_Gameing_Behavior:[function(e,t,n){"use strict";cc._RF.push(t,"8bf2aEAzxhFRrLfzQNjOQS3","Game_Gameing_Behavior");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../Engine/Basic/BasicTreeBehaviorNode"),r=e("../../Engine/Event/EventManager"),s=e("../Game/GameManager"),c=e("../Event/GameEventName"),u=e("../View/GameView/GameView"),l=e("../Game/View/ExplainView/ExplainView"),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype._enter=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];r.default.sendEvent(c.default.View.View_ShowView,l.default),r.default.sendEvent(c.default.View.View_ShowView,u.default),s.default.setGameView(c.default.View.View_ShowView)},t.prototype._leave=function(){s.default.setGameView(c.default.View.View_DestroyView)},t.prototype._enterFail=function(){},t.prototype._enterAgain=function(){},t}(a.default);n.default=f,cc._RF.pop()},{"../../Engine/Basic/BasicTreeBehaviorNode":"BasicTreeBehaviorNode","../../Engine/Event/EventManager":"EventManager","../Event/GameEventName":"GameEventName","../Game/GameManager":"GameManager","../Game/View/ExplainView/ExplainView":"ExplainView","../View/GameView/GameView":"GameView"}],Game_Hall_Behavior:[function(e,t,n){"use strict";cc._RF.push(t,"513dcsJAg9GopM1sC3qXLrJ","Game_Hall_Behavior");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../Engine/Basic/BasicTreeBehaviorNode"),r=e("../../Engine/Event/EventManager"),s=e("../Event/GameEventName"),c=e("../View/HallView/HallView"),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype._enter=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];r.default.sendEvent(s.default.View.View_ShowView,c.default)},t.prototype._leave=function(){r.default.sendEvent(s.default.View.View_DestroyView,c.default)},t.prototype._enterFail=function(){},t.prototype._enterAgain=function(){},t}(a.default);n.default=u,cc._RF.pop()},{"../../Engine/Basic/BasicTreeBehaviorNode":"BasicTreeBehaviorNode","../../Engine/Event/EventManager":"EventManager","../Event/GameEventName":"GameEventName","../View/HallView/HallView":"HallView"}],Game_Hall_Precondition:[function(e,t,n){"use strict";cc._RF.push(t,"25152jhND1JS42U0zTmvKsg","Game_Hall_Precondition");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0}),n.Game_Hall_Precondition=void 0;var a=e("../../Engine/Basic/BasicTreePreconditionNode"),r=e("../../Engine/Data/CommonDataType"),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype._enter=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1==this.customData.initLoad?r._ECommonState.Success:r._ECommonState.Fail},t}(a.default);n.Game_Hall_Precondition=s,cc._RF.pop()},{"../../Engine/Basic/BasicTreePreconditionNode":"BasicTreePreconditionNode","../../Engine/Data/CommonDataType":"CommonDataType"}],Game_InitLoad_Behavior:[function(e,t,n){"use strict";cc._RF.push(t,"f7eddE/bhJJrIkOQZ6EJF0r","Game_InitLoad_Behavior");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../Engine/Basic/BasicTreeBehaviorNode"),r=e("../../Engine/Event/EventManager"),s=e("../../Engine/Tool/Tool"),c=e("../Event/GameEventName"),u=e("../View/InitLoadView/InitLoadView"),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype._enter=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];r.default.sendEvent(c.default.View.View_DestroyView,null),r.default.sendEvent(c.default.View.View_ShowView,u.default)},t.prototype._leave=function(){s.default.log("\u6b63\u5f0f\u8fdb\u5165\u6e38\u620f")},t.prototype._enterFail=function(){},t.prototype._enterAgain=function(){},t}(a.default);n.default=l,cc._RF.pop()},{"../../Engine/Basic/BasicTreeBehaviorNode":"BasicTreeBehaviorNode","../../Engine/Event/EventManager":"EventManager","../../Engine/Tool/Tool":"Tool","../Event/GameEventName":"GameEventName","../View/InitLoadView/InitLoadView":"InitLoadView"}],Game_Login_Behavior:[function(e,t,n){"use strict";cc._RF.push(t,"bf75aUeE3tPZo0gYK5w885B","Game_Login_Behavior");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype._enter=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},t.prototype._leave=function(){},t.prototype._enterFail=function(){},t.prototype._enterAgain=function(){},t}(e("../../Engine/Basic/BasicTreeBehaviorNode").default);n.default=a,cc._RF.pop()},{"../../Engine/Basic/BasicTreeBehaviorNode":"BasicTreeBehaviorNode"}],Game_Over_Behavior:[function(e,t,n){"use strict";cc._RF.push(t,"3efd5DmeIZA0ae8iYIPaJ4V","Game_Over_Behavior");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype._enter=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},t.prototype._leave=function(){},t.prototype._enterFail=function(){},t.prototype._enterAgain=function(){},t}(e("../../Engine/Basic/BasicTreeBehaviorNode").default);n.default=a,cc._RF.pop()},{"../../Engine/Basic/BasicTreeBehaviorNode":"BasicTreeBehaviorNode"}],Game_Precondition:[function(e,t,n){"use strict";cc._RF.push(t,"96d0eBgcZhPf7QZIXblSx0W","Game_Precondition");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0}),n.Game_Precondition=void 0;var a=e("../../Engine/Basic/BasicTreePreconditionNode"),r=e("../../Engine/Data/CommonDataType"),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype._enter=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r._ECommonState.Success},t}(a.default);n.Game_Precondition=s,cc._RF.pop()},{"../../Engine/Basic/BasicTreePreconditionNode":"BasicTreePreconditionNode","../../Engine/Data/CommonDataType":"CommonDataType"}],Game_WaitStart_Behavior:[function(e,t,n){"use strict";cc._RF.push(t,"87795ipVX5ItIRiO2cfTW/v","Game_WaitStart_Behavior");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype._enter=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},t.prototype._leave=function(){},t.prototype._enterFail=function(){},t.prototype._enterAgain=function(){},t}(e("../../Engine/Basic/BasicTreeBehaviorNode").default);n.default=a,cc._RF.pop()},{"../../Engine/Basic/BasicTreeBehaviorNode":"BasicTreeBehaviorNode"}],HallView:[function(e,t,n){"use strict";cc._RF.push(t,"3c8b1u7ypFDSZKUlXqw8voM","HallView");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype._initView=function(){},t.prototype._refreshView=function(){},t.prototype._clearView=function(){},t.prototype.resize=function(){this.fgui.width=fgui.GRoot.inst.width},t.resPath="HallView",t}(e("../../../Engine/Basic/BasicView").default);n.default=a,cc._RF.pop()},{"../../../Engine/Basic/BasicView":"BasicView"}],HintView:[function(e,t,n){"use strict";cc._RF.push(t,"b66c3w3XgJJCKLJVypaU/fn","HintView");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype._initView=function(){},t.prototype._refreshView=function(){},t.prototype._clearView=function(){},t.prototype.resize=function(){this.fgui.width=fgui.GRoot.inst.width},t.resPath="HintView",t}(e("../../../Engine/Basic/BasicView").default);n.default=a,cc._RF.pop()},{"../../../Engine/Basic/BasicView":"BasicView"}],InitLoadView:[function(e,t,n){"use strict";cc._RF.push(t,"9176biRjqxP54NC3jqdUK6e","InitLoadView");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../../Engine/Basic/BasicView"),r=e("../../../Engine/Data/CommonDataType"),s=e("../../../Engine/Event/EventManager"),c=e("../../../Engine/Resources/JsonResources"),u=e("../../../Engine/Component/View/LoadProgress"),l=e("../../Data/GameDataType"),f=e("../../Event/GameEventName"),h=e("../../Game/Data/GameMusicResData"),p=e("../../Component/Background"),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype._initView=function(){var e=this;this.progress=this.fgui.getChild("progress").asProgress;var t=fgui.UIPackage.createObject("InitLoadView","Background").asCom;this.fgui.parent.addChild(t),t.name="background",t.node.zIndex=-1,t.width=cc.winSize.width,t.height=cc.winSize.height,new p.default(t),s.default.onEvent(f.default.Res.Res_LoadProgress,this,function(t){e.progress.value=t*e.progress.max});var n=!1,o=!1;cc.assetManager.loadBundle("res/prefab",function(){cc.assetManager.loadBundle("res/music",function(){1==(n=!0)&&1==o&&e.laodComplete()})});var i=[];for(var a in r._EJsonRes)i.push(r._EJsonRes[a]);for(var a in l._EGameJsonRes)i.push(l._EGameJsonRes[a]);c.default.loadJsonResources(l.ConstObject.ResPath,i,.25,0,function(){s.default.offEventByTarget(e);var t=c.default.getResources(r._EJsonRes.ResGroup).InitLoadView;e.addComponentIntance(new u.default(e.progress,function(){o=!0,1==n&&1==o&&e.laodComplete()},t,1,3))})},t.prototype._refreshView=function(){},t.prototype._clearView=function(){},t.prototype.resize=function(){this.fgui.width=fgui.GRoot.inst.width},t.prototype.laodComplete=function(){s.default.sendEvent(f.default.Music.Music_PlayMusic,h.default.BGM),s.default.sendEvent(f.default.Behavior.Behavior_SetPreconditionData,l._EGameBehavior.Hall,{initLoad:!0}),s.default.sendEventByTargetID(f.default.Behavior.Behavior_EnterBehavior,l.ConstObject.GameBehaviorTreeID,l._EGameBehavior.Gameing)},t.resPath="InitLoadView",t}(a.default);n.default=d,cc._RF.pop()},{"../../../Engine/Basic/BasicView":"BasicView","../../../Engine/Component/View/LoadProgress":"LoadProgress","../../../Engine/Data/CommonDataType":"CommonDataType","../../../Engine/Event/EventManager":"EventManager","../../../Engine/Resources/JsonResources":"JsonResources","../../Component/Background":"Background","../../Data/GameDataType":"GameDataType","../../Event/GameEventName":"GameEventName","../../Game/Data/GameMusicResData":"GameMusicResData"}],JsonResources:[function(e,t,n){"use strict";cc._RF.push(t,"2f7b4ZCZhRER55kt3OB3TkN","JsonResources"),Object.defineProperty(n,"__esModule",{value:!0});var o=e("../Event/EventManager"),i=e("../Event/EventName"),a=e("../Tool/Tool"),r=function(){function e(){}return e.loadJsonResources=function(e,t,n,r,s){var c=this;a.default.log(""),a.default.log("\u52a0\u8f7dJson\u8d44\u6e90"),cc.assetManager.loadBundle((cc.sys.platform==cc.sys.DESKTOP_BROWSER?"":e)+"res/remoteJson",function(e,u){var l=0;for(var f in t)u.load(t[f],cc.JsonAsset,function(e,u){a.default.log(e),o.default.sendEvent(i.EventName.Res.Res_LoadProgress,l/t.length*n+r),l++,c.resources.set(u.name,u.json),l==t.length&&(a.default.log(c.resources),a.default.log("\u52a0\u8f7d\u5b8c\u6bd5"),a.default.log(""),null==s?o.default.sendEvent(i.EventName.Res.Res_LoadComplete):s())})})},e.getResources=function(e){var t=e;return 1==e.includes("/")&&(t=e.substring(e.indexOf("/")+1)),this.resources.get(t)||cc.resources.get(e,cc.JsonAsset).json},e.resources=new Map,e}();n.default=r,cc._RF.pop()},{"../Event/EventManager":"EventManager","../Event/EventName":"EventName","../Tool/Tool":"Tool"}],KeyBoardControl:[function(e,t,n){"use strict";cc._RF.push(t,"21996T+GeJI8YIz589CemtN","KeyBoardControl");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../../Engine/Basic/BasicObject"),r=e("../../../Engine/Event/EventManager"),s=e("../../Game/GameManager"),c=e("../../SDK/sdk"),u=function(e){function t(){var t=e.call(this)||this;return t.codes=new Map,cc.systemEvent.on(cc.SystemEvent.EventType.KEY_DOWN,t.onKeyDown,t),cc.systemEvent.on(cc.SystemEvent.EventType.KEY_UP,t.onKeyUp,t),t}return i(t,e),t.prototype._destroy=function(){cc.systemEvent.off(cc.SystemEvent.EventType.KEY_DOWN,this.onKeyDown,this),cc.systemEvent.off(cc.SystemEvent.EventType.KEY_UP,this.onKeyUp,this),e.prototype._destroy.call(this)},t.prototype.onKeyDown=function(e){var t=!0;switch(e.keyCode){case cc.macro.KEY.left:this.codes.set(cc.macro.KEY.left,cc.macro.KEY.left),this.codes.delete(cc.macro.KEY.right);break;case cc.macro.KEY.right:this.codes.set(cc.macro.KEY.right,cc.macro.KEY.right),this.codes.delete(cc.macro.KEY.left);break;case cc.macro.KEY.up:this.codes.set(cc.macro.KEY.up,cc.macro.KEY.up),this.codes.delete(cc.macro.KEY.down);break;case cc.macro.KEY.down:this.codes.set(cc.macro.KEY.down,cc.macro.KEY.down),this.codes.delete(cc.macro.KEY.up);break;case cc.macro.KEY.z:t=!this.codes.has(cc.macro.KEY.z),this.codes.set(cc.macro.KEY.z,cc.macro.KEY.z)}1==t&&this.sendJoystickEvent()},t.prototype.onKeyUp=function(e){this.codes.delete(e.keyCode),this.sendJoystickEvent()},t.prototype.sendJoystickEvent=function(){this.codes.forEach(function(e){switch(e){case cc.macro.KEY.left:r.default.sendEvent(c.CMD.ENTER_KEY.toString());break;case cc.macro.KEY.right:r.default.sendEvent(c.CMD.CANCLE_KEY.toString());break;case cc.macro.KEY.up:r.default.sendEvent(c.CMD.BACK_LEFT.toString());break;case cc.macro.KEY.down:r.default.sendEvent(c.CMD.BACK_RIGHT.toString());break;case cc.macro.KEY.z:r.default.sendEvent(s.default.ActionEvent)}})},t}(a.default);n.default=u,cc._RF.pop()},{"../../../Engine/Basic/BasicObject":"BasicObject","../../../Engine/Event/EventManager":"EventManager","../../Game/GameManager":"GameManager","../../SDK/sdk":"sdk"}],LoadProgress:[function(e,t,n){"use strict";cc._RF.push(t,"600ffuvaVlH4JW1M3Hhg8uE","LoadProgress");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../Basic/BasicObject"),r=e("../../Event/EventManager"),s=e("../../Resources/ModelResources"),c=e("../../Resources/MusicResources"),u=e("../../Resources/ViewResources"),l=e("../../Data/CommonDataType"),f=e("../../Event/EventName"),h=function(e){function t(t,n,o,i,a){void 0===i&&(i=0),void 0===a&&(a=0);var h=e.call(this)||this;h.progress=t,h.success=n,h.minTime=a,h.currentTime=0,r.default.onEvent(f.EventName.Res.Res_LoadComplete,h,function(){null!=t?(t.value=.99*t.max,t.getChild("progressText").asTextField.text=Math.round(t.value)+"%"):h.currentTime>=h.minTime&&h.success&&h.success()}),null!=t&&(r.default.onEvent(f.EventName.Res.Res_LoadProgress,h,function(e){null!=t&&(t.value=e*t.max*.99,t.getChild("progressText").asTextField.text=Math.round(t.value)+"%")}),h.schedule(h._update,1/60));for(var p=3+i,d=1/p,_=[],v=i,m=0;m<p;m++)_.push(d*m);var g=o.view[l._EViewRes.Fgui],E=o.view[l._EViewRes.Cocos];return u.default.loadViewResources(g,E,d,_[v],function(){v++,c.default.loadMusicResources(o.music,d,_[v],function(){v++,s.default.loadModelResources(o.model,d,_[v],null)})}),h}return i(t,e),t.prototype._update=function(e){this.currentTime+=e,this.progress.value>=.99*this.progress.max&&this.currentTime>=this.minTime&&(this.success&&this.success(),this.unschedule(this._update))},t}(a.default);n.default=h,cc._RF.pop()},{"../../Basic/BasicObject":"BasicObject","../../Data/CommonDataType":"CommonDataType","../../Event/EventManager":"EventManager","../../Event/EventName":"EventName","../../Resources/ModelResources":"ModelResources","../../Resources/MusicResources":"MusicResources","../../Resources/ViewResources":"ViewResources"}],ModelResources:[function(e,t,n){"use strict";cc._RF.push(t,"625391G4g5Kj7+jtUQGAiJ/","ModelResources"),Object.defineProperty(n,"__esModule",{value:!0});var o=e("../Event/EventManager"),i=e("../Event/EventName"),a=e("../Tool/Tool"),r=function(){function e(){}return e.loadModelResources=function(e,t,n,r){var s=this;a.default.log("\u52a0\u8f7d\u6a21\u578b\u8d44\u6e90");var c=function(){a.default.log(s.resources),a.default.log("\u52a0\u8f7d\u5b8c\u6bd5"),a.default.log(""),null==r?o.default.sendEvent(i.EventName.Res.Res_LoadComplete):r()};0==e.length?c():cc.assetManager.loadBundle("res/prefab",function(r,u){s.bundle=u,s.bundle.load(e,cc.Asset,function(e,a){o.default.sendEvent(i.EventName.Res.Res_LoadProgress,e/a*t+n)},function(e,t){for(var n in a.default.log(e),t)s.resources.set(t[n].name,t[n]);c()})})},e.getResources=function(e){var t=e;return 1==e.includes("/")&&(t=e.substring(e.indexOf("/")+1)),null!=this.resources.get(t)?this.resources.get(t):this.bundle.get(t)},e.resources=new Map,e.bundle=null,e}();n.default=r,cc._RF.pop()},{"../Event/EventManager":"EventManager","../Event/EventName":"EventName","../Tool/Tool":"Tool"}],MusicEventName:[function(e,t,n){"use strict";cc._RF.push(t,"619880WHyFBvIAEi/YimCLy","MusicEventName"),Object.defineProperty(n,"__esModule",{value:!0});n.default=function(){this.Music_PlayMusic="Music_PlayMusic",this.Music_PauseMusic="Music_PauseMusic",this.Music_ResumeMusic="Music_ResumeMusic",this.Music_StopMusic="Music_StopMusic",this.Music_PlaySound="Music_PlaySound",this.Music_PauseSound="Music_PauseSound",this.Music_ResumeSound="Music_ResumeSound",this.Music_StopSound="Music_StopSound"},cc._RF.pop()},{}],MusicManager:[function(e,t,n){"use strict";cc._RF.push(t,"35c3dXP1kNLUKANfFOYk9bf","MusicManager");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../Game/Data/GameDataType"),r=e("../Basic/BasicManager"),s=e("../Data/CommonDataType"),c=e("../Event/EventManager"),u=e("../Event/EventName"),l=e("../Resources/JsonResources"),f=e("../Time/TimeManager"),h=e("../Tool/Tool"),p=function(e){function t(){var t=e.call(this)||this;return h.default.log("\u751f\u6210\u97f3\u4e50\u7ba1\u7406\u5668"),t.audioIDs=new Map,t.currentAudioIDs=new Map,c.default.onEvent(u.EventName.Phone.Phone_Hide,t,function(){cc.audioEngine.pauseAll()}),c.default.onEvent(u.EventName.Phone.Phone_Show,t,function(){cc.audioEngine.resumeAll()}),c.default.onEvent(u.EventName.Music.Music_PauseMusic,t,function(){cc.audioEngine.pauseMusic()}),c.default.onEvent(u.EventName.Music.Music_ResumeMusic,t,function(){cc.audioEngine.resumeMusic()}),c.default.onEvent(u.EventName.Music.Music_PauseSound,t,function(e){null!=e?t.audioIDs.get(e)&&t.audioIDs.get(e).pause():t.currentAudioIDs.forEach(function(e){e.pause()})}),c.default.onEvent(u.EventName.Music.Music_ResumeSound,t,function(e){if(null!=e){var n=t.audioIDs.get(e);null!=n&&(0==n.getCurrentTime()?n.play():n.resume())}else t.currentAudioIDs.forEach(function(e){0==e.getCurrentTime()?e.play():e.resume()})}),c.default.onEvent(u.EventName.Music.Music_PlayMusic,t,t.onPlayMusic),c.default.onEvent(u.EventName.Music.Music_StopMusic,t,t.onStopMusic),c.default.onEvent(u.EventName.Music.Music_PlaySound,t,t.onPlaySound),c.default.onEvent(u.EventName.Music.Music_StopSound,t,t.onStopSound),t}return i(t,e),t.prototype.onPlayMusic=function(e){var t=this;null==this.res&&(this.res=l.default.getResources(s._EJsonRes.MusicConfig)),this.bgm!=e?(this.bgm=e,cc.assetManager.loadBundle("res/music",function(n,o){o.load(e,cc.AudioClip,function(){var n;null!=t.audioIDs&&(1==t.audioIDs.has(e)?n=t.audioIDs.get(e):((n=new cc.AudioSource).loop=null==t.res[e]||t.res[e].loop,n.clip=o.get(e),n.volume=null!=t.res[e]?t.res[e].volume:1,t.audioIDs.set(e,n)),n.play(),1==a.ConstObject.FirstEnter&&n.pause())})})):1==this.audioIDs.has(e)&&this.audioIDs.get(e).play()},t.prototype.onStopMusic=function(e){1==this.audioIDs.has(e)&&this.audioIDs.get(e).stop()},t.prototype.onPlaySound=function(e,t){var n=this;null==this.res&&(this.res=l.default.getResources(s._EJsonRes.MusicConfig)),null!=this.res&&cc.assetManager.loadBundle("res/music",function(o,i){i.load(e,cc.AudioClip,function(o,r){var s;null!=n.audioIDs&&(1==n.audioIDs.has(e)?s=n.audioIDs.get(e):((s=cc.director.getScene().getChildByName("Canvas").addComponent(cc.AudioSource)).loop=null!=n.res[e]&&n.res[e].loop,s.clip=i.get(e),s.volume=null!=n.res[e]?n.res[e].volume:1,n.audioIDs.set(e,s),n.currentAudioIDs.set(e,s)),s.play(),1==a.ConstObject.FirstEnter?s.pause():f.default.scheduleOnce(n,function(){n.currentAudioIDs.delete(e),"function"==typeof t&&t()},r.duration))})})},t.prototype.onStopSound=function(e){1==this.audioIDs.has(e)&&(this.currentAudioIDs.delete(e),this.audioIDs.get(e).stop())},t.prototype._destroy=function(){h.default.log("\u9500\u6bc1\u97f3\u4e50\u7ba1\u7406\u5668"),cc.audioEngine.uncacheAll(),this.audioIDs=null,this.res=null,e.prototype._destroy.call(this)},t}(r.default);n.default=p,cc._RF.pop()},{"../../Game/Data/GameDataType":"GameDataType","../Basic/BasicManager":"BasicManager","../Data/CommonDataType":"CommonDataType","../Event/EventManager":"EventManager","../Event/EventName":"EventName","../Resources/JsonResources":"JsonResources","../Time/TimeManager":"TimeManager","../Tool/Tool":"Tool"}],MusicResData:[function(e,t,n){"use strict";cc._RF.push(t,"fbda5fN01FKxqrOcbUztkdd","MusicResData"),Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(){}return e.ClickScreen="ClickScreen",e.ClickButton="ClickButton",e}();n.default=o,cc._RF.pop()},{}],MusicResources:[function(e,t,n){"use strict";cc._RF.push(t,"5c3d9DptMJICKWHuEwnUYSR","MusicResources"),Object.defineProperty(n,"__esModule",{value:!0});var o=e("../Event/EventName"),i=e("../Event/EventManager"),a=e("../Tool/Tool"),r=function(){function e(){}return e.loadMusicResources=function(e,t,n,r){var s=this;a.default.log("\u52a0\u8f7d\u97f3\u4e50\u8d44\u6e90");var c=function(){a.default.log(s.resources),a.default.log("\u52a0\u8f7d\u5b8c\u6bd5"),a.default.log(""),null==r?i.default.sendEvent(o.EventName.Res.Res_LoadComplete):r()};0==e.length?c():cc.assetManager.loadBundle("res/music",function(r,u){s.bundle=u,u.load(e,cc.Asset,function(e,a){i.default.sendEvent(o.EventName.Res.Res_LoadProgress,e/a*t+n)},function(e,t){for(var n in a.default.log(e),t)s.resources.set(t[n].name,t[n]);c()})})},e.getResources=function(e){var t=e;return 1==e.includes("/")&&(t=e.substring(e.indexOf("/")+1)),null!=this.resources.get(t)?this.resources.get(t):this.bundle.get(t)},e.resources=new Map,e.bundle=null,e}();n.default=r,cc._RF.pop()},{"../Event/EventManager":"EventManager","../Event/EventName":"EventName","../Tool/Tool":"Tool"}],OverView:[function(e,t,n){"use strict";cc._RF.push(t,"a4befgoCoxBYL2zUD+gRB+s","OverView");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../../Engine/Basic/BasicView"),r=e("../../../Engine/Event/EventManager"),s=e("../../../Engine/Tool/Tool"),c=e("../../Game/GameManager"),u=e("../../Data/GameDataType"),l=e("../../Game/Data/GameMusicResData"),f=e("../../Event/GameEventName"),h=e("../../SDK/sdk"),p=e("../../SDK/SDKManager"),d=e("../GameView/GameView"),_=e("../HintView/HintView"),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype._initView=function(){var e=this,t=this.fgui.getChild("againButton").asCom;s.default.Tool2D.Button.addEvent(t,{touchend:function(){e.onAgain()}},this.fgui.id);var n=this.fgui.getChild("quitButton").asCom;s.default.Tool2D.Button.addEvent(n,{touchend:function(){e.onQuit()}},this.fgui.id),this.fgui.getChild("score").asTextField.text=""+u.ConstObject.Score,this.fgui.getChild("record").asTextField.text=""+u.ConstObject.Score,this.fgui.getChild("time").asTextField.text=s.default.converNumberToTimeText(u.ConstObject.Time);var o=this.fgui.getChild("rankList").asList;h.SDK.onGameEnd(0,u.ConstObject.Score,1,0,0,function(t){var n=e.fgui.getChild("stepCount").asTextField,i=e.fgui.getChild("consume").asTextField;n.text="\u76f8\u5f53\u4e8e\u6b65\u884c "+t.equivalent+" \u6b65",i.text="\u6d88\u8017\u4e86 "+t.consume+" \u5343\u5361",h.SDK.getRank(0,function(t){console.log(t);var n=t[1].list;if(null!=n&&null!=n.length&&0!=n.length){for(var i=0,a=0;a<n.length;a++)if(null!=u.ConstObject.User&&u.ConstObject.User.id==n[a].user.id){u.ConstObject.Score<n[a].score&&(e.fgui.getChild("record").asTextField.text=""+n[a].score),i=a<3?0:a;break}for(o.numItems=n.length,a=0;a<n.length;a++){var r=o.getChildAt(a).asCom;r.getChild("index").asTextField.text=n[a].rank+"",r.getChild("score").asTextField.text=n[a].score+"",r.getChild("name").asTextField.text=n[a].user.nickname,r.getChild("name").height=r.getChild("name").asTextField.fontSize,r.getChild("avatar").asLoader.url=n[a].user.avatar,null!=u.ConstObject.User&&u.ConstObject.User.id==n[a].user.id&&(r.getChild("up").visible=u.ConstObject.Score>n[a].score,r.getChild("score").asTextField.text=r.getChild("up").visible?u.ConstObject.Score:n[a].score)}o.scrollToView(i,!1),i>0&&o.scrollPane.setPosY(o.scrollPane.posY+o.lineGap)}})}),r.default.sendEvent(f.default.View.View_HideView,d.default),r.default.sendEvent(f.default.View.View_ShowView,_.default),c.default.setGameView(f.default.View.View_HideView),p.default.addButton([{button:t,color:[cc.Color.WHITE,cc.Color.BLACK],callback:function(){e.onAgain()}},{button:n,color:[cc.Color.WHITE,cc.Color.BLACK],callback:function(){e.onQuit()}}])},t.prototype._refreshView=function(){},t.prototype._clearView=function(){p.default.removeButton(),r.default.sendEvent(f.default.Music.Music_StopSound,l.default.GameEnd)},t.prototype.resize=function(){this.fgui.width=fgui.GRoot.inst.width},t.prototype.onAgain=function(){r.default.sendEvent(f.default.Music.Music_PlaySound,l.default.ClickButton),r.default.sendEvent(f.default.View.View_DestroyView,t),r.default.sendEvent(f.default.View.View_DestroyView,_.default),r.default.sendEvent(f.default.View.View_ShowView,d.default),c.default.setGameView(f.default.View.View_ShowView)},t.prototype.onQuit=function(){r.default.sendEvent(f.default.Music.Music_PlaySound,l.default.ClickButton),r.default.sendEvent(f.default.Game_QuitGame)},t.resPath="OverView",t}(a.default);n.default=v,cc._RF.pop()},{"../../../Engine/Basic/BasicView":"BasicView","../../../Engine/Event/EventManager":"EventManager","../../../Engine/Tool/Tool":"Tool","../../Data/GameDataType":"GameDataType","../../Event/GameEventName":"GameEventName","../../Game/Data/GameMusicResData":"GameMusicResData","../../Game/GameManager":"GameManager","../../SDK/SDKManager":"SDKManager","../../SDK/sdk":"sdk","../GameView/GameView":"GameView","../HintView/HintView":"HintView"}],PauseView:[function(e,t,n){"use strict";cc._RF.push(t,"d2c802w6+FAfay+NPNfEQQm","PauseView");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../../Engine/Basic/BasicView"),r=e("../../../Engine/Data/CommonDataType"),s=e("../../../Engine/Event/EventManager"),c=e("../../../Engine/Time/TimeManager"),u=e("../../../Engine/Tool/Tool"),l=e("../../Game/GameManager"),f=e("../../Data/GameDataType"),h=e("../../Game/Data/GameMusicResData"),p=e("../../Event/GameEventName"),d=e("../../SDK/SDKManager"),_=e("../GameView/GameView"),v=e("../HintView/HintView"),m=e("../../../Engine/Resources/JsonResources"),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype._initView=function(){var e=this;f.ConstObject.GameState=r._ECommonState.Pause,c.default.pause();var t=this.fgui.getChild("resetButton").asCom;u.default.Tool2D.Button.addEvent(t,{touchend:function(){e.onReset()}},this.fgui.id,.9,.9,0,!1);var n=this.fgui.getChild("continueButton").asCom;u.default.Tool2D.Button.addEvent(n,{touchend:function(){e.onContinue()}},this.fgui.id,.9,.9,0,!1);var o=this.fgui.getChild("quitButton").asCom;u.default.Tool2D.Button.addEvent(o,{touchend:function(){e.onQuit()}},this.fgui.id,.9,.9,0,!1),d.default.addButton([{button:n,color:[cc.Color.BLACK,cc.Color.BLACK],callback:function(){0==f.ConstObject.FirstEnter&&e.onContinue()}},{button:t,color:[cc.Color.BLACK,cc.Color.BLACK],callback:function(){0==f.ConstObject.FirstEnter&&e.onReset()}},{button:o,color:[cc.Color.BLACK,cc.Color.BLACK],callback:function(){0==f.ConstObject.FirstEnter&&e.onQuit()}}]),s.default.sendEvent(p.default.Music.Music_PauseSound,null),1==f.ConstObject.FirstEnter&&(this.fgui.node.zIndex=-1e3,s.default.onEvent(p.default.SDK.SDK_Confirm,this,this.onContinue,1)),s.default.sendEvent(p.default.View.View_ShowView,v.default)},t.prototype._refreshView=function(){var e=m.default.getResources(r._EJsonRes.ViewConfig);this.fgui.node.zIndex=e.ZIndex[t.resPath]},t.prototype._clearView=function(){c.default.resume(),d.default.removeButton(),s.default.sendEvent(p.default.Music.Music_ResumeSound,null),s.default.sendEvent(p.default.View.View_DestroyView,v.default),0==f.ConstObject.FirstEnter&&(f.ConstObject.GameState=r._ECommonState.Runing)},t.prototype.resize=function(){this.fgui.width=fgui.GRoot.inst.width},t.prototype.onReset=function(){f.ConstObject.GameState=r._ECommonState.None,s.default.sendEvent(p.default.Music.Music_PlaySound,h.default.ClickButton),s.default.sendEvent(p.default.View.View_DestroyView,t),s.default.sendEvent(p.default.View.View_ShowView,_.default),l.default.setGameView(p.default.View.View_ShowView)},t.prototype.onContinue=function(){0==f.ConstObject.FirstEnter&&s.default.sendEvent(p.default.Music.Music_PlaySound,h.default.ClickButton),s.default.sendEvent(p.default.View.View_DestroyView,t)},t.prototype.onQuit=function(){s.default.sendEvent(p.default.Music.Music_PlaySound,h.default.ClickButton),s.default.sendEvent(p.default.Game_QuitGame)},t.resPath="PauseView",t}(a.default);n.default=g,cc._RF.pop()},{"../../../Engine/Basic/BasicView":"BasicView","../../../Engine/Data/CommonDataType":"CommonDataType","../../../Engine/Event/EventManager":"EventManager","../../../Engine/Resources/JsonResources":"JsonResources","../../../Engine/Time/TimeManager":"TimeManager","../../../Engine/Tool/Tool":"Tool","../../Data/GameDataType":"GameDataType","../../Event/GameEventName":"GameEventName","../../Game/Data/GameMusicResData":"GameMusicResData","../../Game/GameManager":"GameManager","../../SDK/SDKManager":"SDKManager","../GameView/GameView":"GameView","../HintView/HintView":"HintView"}],PhoneEventName:[function(e,t,n){"use strict";cc._RF.push(t,"5be7fprhZRF5bh2iXUrEx/Q","PhoneEventName"),Object.defineProperty(n,"__esModule",{value:!0});n.default=function(){this.Phone_Show="Phone_Show",this.Phone_Hide="Phone_Hide"},cc._RF.pop()},{}],Popup:[function(e,t,n){"use strict";cc._RF.push(t,"e2a9a31HqZIo7mO5bt1g67a","Popup");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../Basic/BasicObject"),r=e("../../Event/EventName"),s=e("../../Event/EventManager"),c=e("../../Tool/Tool"),u=0,l=function(e){function t(t,n,o,i){var a=e.call(this)||this;return t.node.zIndex+=u,u++,a.view=t,a.window=o,a.cover=n,a.window.on(cc.Node.EventType.TOUCH_END,function(){}),a.cover.on(cc.Node.EventType.TOUCH_END,function(){a.hide()}),a.closeButton=i,c.default.Tool2D.Button.addEvent(a.closeButton,{touchend:function(){a.hide()}},a.view.fgui.id),a.window.setScale(.3,.3),a}return i(t,e),t.prototype.show=function(){this.window.setScale(.3,.3),c.default.Tween.tweenTo(this.window,cc.tween(this.window).to(.1,{scaleX:1,scaleY:1},cc.easeBackOut()).start())},t.prototype.hide=function(){var e=this;c.default.Tween.tweenTo(this.window,cc.tween(this.window).to(.1,{scaleX:.3,scaleY:.3}).call(function(){s.default.sendEvent(r.EventName.Component.Popup_Hide,e.id)}).start())},t.prototype._destroy=function(){c.default.Tween.destroy(this.window.id),e.prototype._destroy.call(this)},t}(a.default);n.default=l,cc._RF.pop()},{"../../Basic/BasicObject":"BasicObject","../../Event/EventManager":"EventManager","../../Event/EventName":"EventName","../../Tool/Tool":"Tool"}],PropEventName:[function(e,t,n){"use strict";cc._RF.push(t,"0b0f1ZIrt5Ip4vZic1GsRZ8","PropEventName"),Object.defineProperty(n,"__esModule",{value:!0});n.default=function(){this.Prop_CreateProp="Prop_CreateProp",this.Prop_RemoveProp="Prop_RemoveProp",this.Prop_RemoveUnitProp="Prop_RemoveUnitProp",this.Prop_GetProp="Prop_GetProp",this.Prop_CollectProp="Prop_CollectProp",this.Prop_WearProp="Prop_WearProp"},cc._RF.pop()},{}],ResEventName:[function(e,t,n){"use strict";cc._RF.push(t,"c54a5fRRe5HxoeuLsexTgSz","ResEventName"),Object.defineProperty(n,"__esModule",{value:!0});n.default=function(){this.Res_LoadProgress="Res_LoadProgress",this.Res_LoadComplete="Res_LoadComplete"},cc._RF.pop()},{}],RobotEventName:[function(e,t,n){"use strict";cc._RF.push(t,"1e7e4GxdQdHa40yHMeErNNX","RobotEventName"),Object.defineProperty(n,"__esModule",{value:!0});n.default=function(){this.Robot_CreateRobot="Robot_CreateRobot",this.Robot_RemoveRobot="Robot_RemoveRobot",this.Robot_OpenRobot="Robot_OpenRobot",this.Robot_StopRobot="Robot_StopRobot"},cc._RF.pop()},{}],RootScene:[function(e,t,n){"use strict";cc._RF.push(t,"e1b90/rohdEk4SdmmEZANaD","RootScene");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__decorate||function(e,t,n,o){var i,a=arguments.length,r=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(r=(a<3?i(r):a>3?i(t,n,r):i(t,n))||r);return a>3&&r&&Object.defineProperty(t,n,r),r};Object.defineProperty(n,"__esModule",{value:!0});var r=e("./Engine/Data/CommonDataType"),s=e("./Engine/Engine"),c=e("./Engine/Event/EventManager"),u=e("./Engine/Resources/JsonResources"),l=e("./Game/BehaviorTree/GameBehaviorTree"),f=e("./Game/Data/DataManager"),h=e("./Game/Data/GameDataType"),p=e("./Game/Event/GameEventName"),d=e("./Game/Unit/UnitManager"),_=e("./Game/View/InitLoadView/InitLoadView"),v=e("./Game/SDK/SDKManager"),m=e("./Engine/Tool/Tool"),g=cc._decorator,E=g.ccclass,y=(g.property,function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.start=function(){var e=this;m.default.isLog=!1,cc.assetManager.loadBundle("res/cocos",function(){cc.assetManager.loadBundle("res/fgui",function(t,n){var o=[r._EJsonRes.GameConfig,r._EJsonRes.ViewConfig,r._EJsonRes.GameBehaviorTree,h._EGameJsonRes.UserDataConfig];u.default.loadJsonResources(h.ConstObject.ResPath,o,0,0,function(){new s.default(function(t){c.default.onEvent(p.default.UserData.UserData_ReadUserData,e,function(t){new l.default(e.node,u.default.getResources(r._EJsonRes.GameBehaviorTree));var o=n._config.paths._map,i=[];for(var a in o)1==a.includes(_.default.resPath)&&i.push(a);n.load(i,function(){c.default.sendEventByTargetID(p.default.Behavior.Behavior_EnterBehavior,h.ConstObject.GameBehaviorTreeID,t)})}),t.managers.push(new d.default),t.managers.push(new v.default),t.managers.push(new f.default)})})})})},a([E],t)}(cc.Component));n.default=y,cc._RF.pop()},{"./Engine/Data/CommonDataType":"CommonDataType","./Engine/Engine":"Engine","./Engine/Event/EventManager":"EventManager","./Engine/Resources/JsonResources":"JsonResources","./Engine/Tool/Tool":"Tool","./Game/BehaviorTree/GameBehaviorTree":"GameBehaviorTree","./Game/Data/DataManager":"DataManager","./Game/Data/GameDataType":"GameDataType","./Game/Event/GameEventName":"GameEventName","./Game/SDK/SDKManager":"SDKManager","./Game/Unit/UnitManager":"UnitManager","./Game/View/InitLoadView/InitLoadView":"InitLoadView"}],SDKEventName:[function(e,t,n){"use strict";cc._RF.push(t,"b234eJRQDBIIoybJhxboVVr","SDKEventName"),Object.defineProperty(n,"__esModule",{value:!0});n.default=function(){this.SDK_Confirm="SDK_Confirm",this.SDK_Cancel="SDK_Cancel",this.SDK_Up="SDK_Up",this.SDK_Down="SDK_Down",this.SDK_Action="SDK_Action"},cc._RF.pop()},{}],SDKManager:[function(e,t,n){"use strict";cc._RF.push(t,"3794f8A3rdAS4K54H5Q9oIc","SDKManager");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../Engine/Basic/BasicManager"),r=e("../../Engine/Event/EventManager"),s=e("../../Engine/Tool/Tool"),c=e("../Event/GameEventName"),u=e("../Game/GameManager"),l=e("./sdk"),f=function(e){function t(){var t=e.call(this)||this;return s.default.log("\u751f\u6210SDK\u7ba1\u7406\u5668"),l.SDK.on(l.CMD.ENTER_KEY.toString(),t.confirm,t),l.SDK.on(l.CMD.CANCLE_KEY.toString(),t.cancel,t),l.SDK.on(l.CMD.BACK_LEFT.toString(),t.up,t),l.SDK.on(l.CMD.BACK_RIGHT.toString(),t.down,t),r.default.onEvent(l.CMD.ENTER_KEY.toString(),t,t.confirm),r.default.onEvent(l.CMD.CANCLE_KEY.toString(),t,t.cancel),r.default.onEvent(l.CMD.BACK_LEFT.toString(),t,t.up),r.default.onEvent(l.CMD.BACK_RIGHT.toString(),t,t.down),l.SDK.on(u.default.ActionEvent,t.action,t),r.default.onEvent(u.default.ActionEvent,t,t.action),t}return i(t,e),t.addButton=function(e){t.buttons.length>0&&null!=t.buttons[t.buttons.length-1][t.buttonIndex]&&(t.buttons[t.buttons.length-1][t.buttonIndex].button.getChildAt(1).visible=!1,t.buttons[t.buttons.length-1][t.buttonIndex].button.getChildAt(2).asTextField.color=t.buttons[t.buttons.length-1][t.buttonIndex].color[0]),t.buttons.push(e),t.buttonIndex=0,t.updateButton(0)},t.removeButton=function(e){void 0===e&&(e=1),t.buttons.splice(t.buttons.length-e,e),t.buttons.length>0&&null!=t.buttons[t.buttons.length-1][t.buttonIndex]&&t.updateButton(0)},t.updateButton=function(e){t.buttons.length>0&&null!=t.buttons[t.buttons.length-1][t.buttonIndex]&&(0!=e&&(t.buttons[t.buttons.length-1][t.buttonIndex].button.getChildAt(1).visible=!1,t.buttons[t.buttons.length-1][t.buttonIndex].button.getChildAt(2).asTextField.color=t.buttons[t.buttons.length-1][t.buttonIndex].color[0],t.buttonIndex+=e,t.buttonIndex<0?t.buttonIndex=t.buttons[t.buttons.length-1].length-1:t.buttonIndex>=t.buttons[t.buttons.length-1].length&&(t.buttonIndex=0)),t.buttons[t.buttons.length-1][t.buttonIndex].button.getChildAt(1).visible=!0,t.buttons[t.buttons.length-1][t.buttonIndex].button.getChildAt(2).asTextField.color=t.buttons[t.buttons.length-1][t.buttonIndex].color[1])},t.prototype.confirm=function(){t.buttons.length>0&&null!=t.buttons[t.buttons.length-1][t.buttonIndex]&&t.buttons[t.buttons.length-1][t.buttonIndex].callback&&t.buttons[t.buttons.length-1][t.buttonIndex].callback(),r.default.sendEvent(c.default.SDK.SDK_Confirm)},t.prototype.cancel=function(){r.default.sendEvent(c.default.SDK.SDK_Cancel)},t.prototype.up=function(){r.default.sendEvent(c.default.SDK.SDK_Up),t.updateButton(-1)},t.prototype.down=function(){r.default.sendEvent(c.default.SDK.SDK_Down),t.updateButton(1)},t.prototype.action=function(){r.default.sendEvent(c.default.SDK.SDK_Action)},t.prototype._destroy=function(){s.default.log("\u9500\u6bc1SDK\u7ba1\u7406\u5668"),t.buttons=null,l.SDK.onBackPressed(),e.prototype._destroy.call(this)},t.buttons=[],t.buttonIndex=0,t}(a.default);n.default=f,cc._RF.pop()},{"../../Engine/Basic/BasicManager":"BasicManager","../../Engine/Event/EventManager":"EventManager","../../Engine/Tool/Tool":"Tool","../Event/GameEventName":"GameEventName","../Game/GameManager":"GameManager","./sdk":"sdk"}],Score:[function(e,t,n){"use strict";cc._RF.push(t,"edbf0u1hepKz4a5P70G2+Gt","Score");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../../Engine/Event/EventManager"),r=e("../../../Engine/Tool/Tool"),s=e("../../Event/GameEventName"),c=e("../../Unit/Unit"),u=e("../Data/Unit/UnitConfig"),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"fgui",{get:function(){return this.score},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return u._EUnitType.Score},enumerable:!1,configurable:!0}),t.prototype.createNode=function(){this.score=fgui.UIPackage.createObject("AttackChickenView","Score").asCom,this.createUnit.parent.addChild(this.score),this.score.setPivot(.5,.5,!0),this.score.setPosition(this.createUnit.pos.x,this.createUnit.pos.y),this.score.node.zIndex=-1,a.default.onEvent(s.default.Unit.Unit_CreateUnitComplete,this,this.show),a.default.onEvent(s.default.Unit.Unit_ReuseUnit,this,this.show)},t.prototype.createComponents=function(){},t.prototype.show=function(e){var t=this;if(e.id==this.id){this.score.visible=!0,this.score.alpha=1,this.score.setScale(1,1);var n=this.score.getChildAt(0).asTextField;n.y=this.score.height/2,n.alpha=1,n.text="+1",r.default.Tween.tweenTo(n,cc.tween(n).to(1,{alpha:0,y:n.y-50}).start()),a.default.sendEvent(s.default.Fight.Fight_FightData,1);var o=.2*Math.random()+.5;r.default.Tween.tweenTo(this,cc.tween(this.score).to(.3,{scaleX:o,scaleY:o},cc.easeQuarticActionOut()).to(1,{alpha:0}).call(function(){t.fgui.visible=!1}).start())}},t}(c.default);n.default=l,cc._RF.pop()},{"../../../Engine/Event/EventManager":"EventManager","../../../Engine/Tool/Tool":"Tool","../../Event/GameEventName":"GameEventName","../../Unit/Unit":"Unit","../Data/Unit/UnitConfig":"UnitConfig"}],SkillEventName:[function(e,t,n){"use strict";cc._RF.push(t,"e3425mfMJlN7ZwRinMbet7n","SkillEventName"),Object.defineProperty(n,"__esModule",{value:!0});n.default=function(){this.Skill_EmitSkill="Skill_EmitSkill",this.Skill_AgainEmitSkill="Skill_AgainEmitSkill",this.Skill_ProhibitEmitSkill="Skill_ProhibitEmitSkill",this.Skill_RemoveSkill="Skill_RemoveSkill",this.Skill_EmitSkillComplete="Skill_EmitSkillComplete",this.Skill_FlyingMaxDistance="Skill_FlyingMaxDistance"},cc._RF.pop()},{}],TimeEventName:[function(e,t,n){"use strict";cc._RF.push(t,"c70c94KLsJKLoPrOAjaDhQ9","TimeEventName"),Object.defineProperty(n,"__esModule",{value:!0});n.default=function(){this.Time_Pause="Time_Pause",this.Time_Resume="Time_Resume",this.Time_ConstFrame="Time_ConstFrame",this.Time_ConstSecond="Time_ConstSecond"},cc._RF.pop()},{}],TimeManager:[function(e,t,n){"use strict";cc._RF.push(t,"6411brXP8tJ3KLjKkhN42wP","TimeManager");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../Basic/BasicManager"),r=e("../Event/EventManager"),s=e("../Event/EventName"),c=e("../Tool/Tool"),u=function(e){function t(){var n=e.call(this)||this;return c.default.log("\u751f\u6210\u8ba1\u65f6\u7ba1\u7406\u5668"),t.schedule(n,n.frame,1/60),t.schedule(n,n.second,1),n}return i(t,e),t.prototype.frame=function(e){r.default.sendEvent(s.EventName.Time.Time_ConstFrame,e)},t.prototype.second=function(e){r.default.sendEvent(s.EventName.Time.Time_ConstSecond,e)},t.pause=function(e){null!=e?(cc.director.getScheduler().pauseTarget(e),cc.director.getActionManager().pauseTarget(e.node)):(t.tweens=cc.director.getActionManager().pauseAllRunningActions(),r.default.sendEvent(s.EventName.Time.Time_Pause),t.isPause=!0,t.times.forEach(function(e,n){null==e||1!=e.isValid||null!=e.isDestroy&&0!=e.isDestroy?t.times.delete(n):cc.director.getScheduler().pauseTarget(e)}))},t.resume=function(e){null!=e?(cc.director.getScheduler().resumeTarget(e),cc.director.getActionManager().resumeTarget(e.node)):(cc.director.getActionManager().resumeTargets(t.tweens),r.default.sendEvent(s.EventName.Time.Time_Resume),t.isPause=!1,t.times.forEach(function(e,n){null==e||1!=e.isValid||null!=e.isDestroy&&0!=e.isDestroy?t.times.delete(n):cc.director.getScheduler().resumeTarget(e)}))},t.schedule=function(e,n,o,i,a){t.times.set(e.id,e),e.schedule(n,o,i,a),1==t.isPause&&cc.director.getScheduler().pauseTarget(e)},t.scheduleOnce=function(e,n,o){t.times.set(e.id,e),e.scheduleOnce(n,o),1==t.isPause&&cc.director.getScheduler().pauseTarget(e)},t.prototype._destroy=function(){c.default.log("\u9500\u6bc1\u8ba1\u65f6\u7ba1\u7406\u5668"),t.times=null,t.tweens=null,this.unscheduleAllCallbacks(),e.prototype._destroy.call(this)},t.times=new Map,t.isPause=!1,t.tweens=[],t}(a.default);n.default=u,cc._RF.pop()},{"../Basic/BasicManager":"BasicManager","../Event/EventManager":"EventManager","../Event/EventName":"EventName","../Tool/Tool":"Tool"}],Tool2D_Button:[function(e,t,n){"use strict";cc._RF.push(t,"25d5bAe87RJCJGFYHl9Ykm9","Tool2D_Button"),Object.defineProperty(n,"__esModule",{value:!0});var o=e("../../Data/MusicResData"),i=e("../../Event/EventManager"),a=e("../../Event/EventName"),r=e("../Tool"),s=function(){function e(){this.tweens=new Map,this.nodes=new Map}return e.prototype.addEvent=function(e,t,n,s,c,u,l){this.removeEvent(e,n);var f=e.scaleX,h=e.scaleY,p=!1,d=0;s=s||.9,c=c||.9,u=u||0;var _=this.getEventName(e,n);this.tweens.set(_[0],function(n){0==d&&(p=!0,r.default.Tween.tweenTo(e,cc.tween(e).to(.1,{scaleX:f*s,scaleY:h*c}).start()),t[cc.Node.EventType.TOUCH_START]&&t[cc.Node.EventType.TOUCH_START](n),0!=l&&i.default.sendEvent(a.EventName.Music.Music_PlaySound,o.default.ClickButton))}),this.tweens.set(_[1],function(e){1==p&&t[cc.Node.EventType.TOUCH_MOVE]&&t[cc.Node.EventType.TOUCH_MOVE](e)}),this.tweens.set(_[2],function(n){1==p&&(p=!1,r.default.Tween.tweenTo(e,cc.tween(e).to(.1,{scaleX:f,scaleY:h}).call(function(){t[cc.Node.EventType.TOUCH_CANCEL]&&t[cc.Node.EventType.TOUCH_CANCEL](n)}).start()))}),this.tweens.set(_[3],function(n){1==p&&(p=!1,(d=u)>0&&r.default.Tween.tweenTo(e,cc.tween(e).delay(d).call(function(){d=0}).start()),r.default.Tween.tweenTo(e,cc.tween(e).to(.1,{scaleX:f,scaleY:h}).call(function(){t[cc.Node.EventType.TOUCH_END]&&t[cc.Node.EventType.TOUCH_END](n)}).start()))}),this.nodes.set(n+"_"+e.id,e);var v=this.getTween(_);e.on(cc.Node.EventType.TOUCH_START,v[0],this),e.on(cc.Node.EventType.TOUCH_MOVE,v[1],this),e.on(cc.Node.EventType.TOUCH_CANCEL,v[2],this),e.on(cc.Node.EventType.TOUCH_END,v[3],this)},e.prototype.removeEvent=function(e,t){var n=this;if(null!=e){if(1==this.nodes.has(t+"_"+e.id)){var o=this.getEventName(e,t);this.tweens.delete(o[0]),this.tweens.delete(o[1]),this.tweens.delete(o[2]),this.tweens.delete(o[3]),this.nodes.delete(t+"_"+e.id);var i=this.getTween(o);e.off(cc.Node.EventType.TOUCH_START,i[0],this),e.off(cc.Node.EventType.TOUCH_MOVE,i[1],this),e.off(cc.Node.EventType.TOUCH_CANCEL,i[2],this),e.off(cc.Node.EventType.TOUCH_END,i[3],this),r.default.Tween.destroy(e.id)}}else this.nodes.forEach(function(e,o){-1!=o.indexOf(t)&&n.removeEvent(e,t)})},e.prototype.getEventName=function(e,t){return[t+"_"+e.id+cc.Node.EventType.TOUCH_START,t+"_"+e.id+cc.Node.EventType.TOUCH_MOVE,t+"_"+e.id+cc.Node.EventType.TOUCH_CANCEL,t+"_"+e.id+cc.Node.EventType.TOUCH_END]},e.prototype.getTween=function(e){return[this.tweens.get(e[0]),this.tweens.get(e[1]),this.tweens.get(e[2]),this.tweens.get(e[3])]},e}();n.default=s,cc._RF.pop()},{"../../Data/MusicResData":"MusicResData","../../Event/EventManager":"EventManager","../../Event/EventName":"EventName","../Tool":"Tool"}],Tool2D:[function(e,t,n){"use strict";cc._RF.push(t,"74d8bsLMiZAWq57d9wRXNsT","Tool2D"),Object.defineProperty(n,"__esModule",{value:!0});var o=e("./Tool2D/Tool2D_Button"),i=function(){function e(){}return Object.defineProperty(e.prototype,"Button",{get:function(){return null==this.button&&(this.button=new o.default),this.button},enumerable:!1,configurable:!0}),e}();n.default=i,cc._RF.pop()},{"./Tool2D/Tool2D_Button":"Tool2D_Button"}],Tool3D_Tween:[function(e,t,n){"use strict";cc._RF.push(t,"2e16bFB1N1PJ4XckiIcNCaf","Tool3D_Tween"),Object.defineProperty(n,"__esModule",{value:!0});n.default=function(){this.tweenType={move:"move",scale:"scale",rotation:"rotation"},this.tweens={move:new Map,scale:new Map,rotation:new Map}},cc._RF.pop()},{}],Tool3D:[function(e,t,n){"use strict";cc._RF.push(t,"3d9d5qYwK5MJI7mjhw+xag6","Tool3D"),Object.defineProperty(n,"__esModule",{value:!0});var o=e("./Tool3D/Tool3D_Tween"),i=function(){function e(){}return Object.defineProperty(e.prototype,"Tween",{get:function(){return null==this.tween&&(this.tween=new o.default),this.tween},enumerable:!1,configurable:!0}),e.prototype.getNewVector3=function(e){return void 0===e&&(e=null),null==e?new cc.Vec3:new cc.Vec3(e.x,e.y,e.z)},e.prototype.getDistanceV3=function(e,t,n){var o=this.getNewVector3(e),i=this.getNewVector3(t);return-1!=n.indexOf("x")&&(o.x=0,i.x=0),-1!=n.indexOf("y")&&(o.y=0,i.y=0),-1!=n.indexOf("z")&&(o.z=0,i.z=0),cc.Vec3.distance(o,i)},e.prototype.getAngle=function(e,t,n,o){var i=Math.abs(e-n),a=Math.abs(t-o),r=a/Math.sqrt(Math.pow(i,2)+Math.pow(a,2)),s=Math.acos(r),c=Math.floor(180/(Math.PI/s));return n>e&&o>t&&(c=180-c),n==e&&o>t&&(c=180),n>e&&o==t&&(c=90),n<e&&o>t&&(c=180+c),n<e&&o==t&&(c=270),n<e&&o<t&&(c=360-c),c},e}();n.default=i,cc._RF.pop()},{"./Tool3D/Tool3D_Tween":"Tool3D_Tween"}],Tool_Tween:[function(e,t,n){"use strict";cc._RF.push(t,"164216JJf1DFJGihJ6cHrty","Tool_Tween"),Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(){this.tweens=new Map}return e.prototype.tweenTo=function(e,t){var n=0==this.tweens.has(e.id)?[]:this.tweens.get(e.id);return n.push(t),this.tweens.set(e.id,n),t},e.prototype.destroy=function(e){if(1==this.tweens.has(e)){var t=this.tweens.get(e);for(var n in t)t[n].stop(),t[n].removeSelf();this.tweens.delete(e)}},e}();n.default=o,cc._RF.pop()},{}],Tool:[function(e,t,n){"use strict";cc._RF.push(t,"555c98ZfaxBEbpAMjg8Ziwe","Tool"),Object.defineProperty(n,"__esModule",{value:!0});var o=e("./Tool/Tool_Tween"),i=e("./Tool2D"),a=e("./Tool3D"),r=function(){function e(){}return Object.defineProperty(e,"Tween",{get:function(){return null==this.tween&&(this.tween=new o.default),this.tween},enumerable:!1,configurable:!0}),Object.defineProperty(e,"Tool2D",{get:function(){return null==this.tool2D&&(this.tool2D=new i.default),this.tool2D},enumerable:!1,configurable:!0}),Object.defineProperty(e,"Tool3D",{get:function(){return null==this.tool3D&&(this.tool3D=new a.default),this.tool3D},enumerable:!1,configurable:!0}),e.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];1==this.isLog&&console.log.apply(console,e)},e.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];1==this.isLog&&console.error.apply(console,e)},e.dataProofreadCover=function(e,t){if(null!=e&&null!=t)for(var n in e)void 0!==t[n]&&("object"==typeof e[n]&&null!=t[n]?(e[n]=Array.isArray(t[n])?[]:{},this.dataProofreadCover(e[n],t[n])):e[n]=t[n]);return e},e.dataSupplementCover=function(e,t){if(null!=e&&null!=t)for(var n in t)null==e[n]&&("object"==typeof e[n]&&null!=t[n]?(e[n]=Array.isArray(t[n])?[]:{},this.dataSupplementCover(e[n],t[n])):e[n]=t[n]);return e},e.dataAllCover=function(e,t){if(null!=e&&null!=t)for(var n in t)"object"==typeof t[n]&&null!=t[n]?(e[n]=Array.isArray(t[n])?[]:{},this.dataAllCover(e[n],t[n])):e[n]=t[n];return e},e.findKey=function(e,t,n){return void 0===n&&(n=function(e,t){return e===t}),Object.keys(e).find(function(o){return n(e[o],t)})},e.random=function(e){return Math.round(Math.random()*e+.4-.4)},e.randomArray=function(e){for(var t=function(e){for(var t=[],n=e.length,o=0;o<n;o++){var i=Math.round(Math.random()*(e.length-1));t[o]=e[i],e.splice(i,1)}return t},n=0;n<1e4;n++)e=t(e),e=t(e);return e},e.clamp=function(e,t,n){return n<e?n=e:n>t&&(n=t),n},e.clampProperty=function(e,t,n,o){return void 0===o&&(o=!0),NaN!=e.max&&NaN!=t.max&&null!=e.max&&null!=t.max&&(n.max=e.max+t.max),NaN!=e.min&&NaN!=t.min&&null!=e.min&&null!=t.min&&(n.min=e.min+t.min),NaN!=e.value&&NaN!=t.value&&null!=e.value&&null!=t.value&&(n.value=e.value+t.value,1==o&&(n.value=this.clamp(n.min,n.max,n.value))),n},e.formatter=function(e,t){var n=["K","M","B","T","aa","ab","ac","ad","ae","af","bb","bc","bd"];if(e>=1e3)for(var o=n.length;o>0;o--)if(e>=Math.pow(1e3,o)){return""+((e/Math.pow(1e3,o)).toFixed(t)+n[o-1])}return e+""},e.getAngle=function(e,t,n,o){var i=Math.abs(e-n),a=Math.abs(t-o),r=a/Math.sqrt(Math.pow(i,2)+Math.pow(a,2)),s=Math.acos(r),c=Math.floor(180/(Math.PI/s));return n>e&&o>t&&(c=180-c),n==e&&o>t&&(c=180),n>e&&o==t&&(c=90),n<e&&o>t&&(c=180+c),n<e&&o==t&&(c=270),n<e&&o<t&&(c=360-c),c},e.getVector=function(e){var t=Math.PI/180*e,n=Math.cos(t),o=Math.sin(t);return cc.v2(n,o).normalize()},e.bezier=function(e,t,n,o){return(1-o)*(1-o)*e+2*o*(1-o)*t+o*o*n},e.isChinese=function(e){return!!/[\u4e00-\u9fa5]+/.test(e)},e.convertNumberToChinese=function(e){for(var t="",n=["0","1","2","3","4","5","6","7","8","9"],o=["\u96f6","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d"],i=["\u5341","\u767e","\u5343","\u4e07","\u5341\u4e07","\u767e\u4e07","\u5343\u4e07","\u4ebf"],a=(""+e).split("").reverse(),r=!1,s=0;s<a.length;s++){var c=n.indexOf(a[s]);0==s?0!=c&&(t=o[c]):0!=c?(t=o[c]+(t=i[s-1]+t),r=!1):0==r&&(t=o[c]+t,r=!0)}return"\u4e00\u5341"==t.substring(0,2)&&(t=t.replace("\u4e00\u5341","\u5341")),t[t.length-1]==o[0]&&(t=t.substring(0,t.length-1)),t},e.converNumberToDate=function(e){var t=this.converNumberToTime(e),n=t.month<10?"0"+t.month:t.month,o=t.day<10?"0"+t.day:t.day,i=t.hour<10?"0"+t.hour:t.hour,a=t.minute<10?"0"+t.minute:t.minute,r=t.second<10?"0"+t.second:t.second;return t.year+"-"+n+"-"+o+" "+i+":"+a+":"+r},e.converNumberToTime=function(e){var t=new Date(1e3*Math.round(e));return{year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate(),hour:t.getHours(),minute:t.getMinutes(),second:t.getSeconds()}},e.converNumberToTimeText=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1),e=e<0?0:e;var o=Math.ceil(e),i=Math.floor(o/3600),a=Math.floor(o%3600/60),r=Math.floor(o%60),s=i>=10?i+"":"0"+i,c=a>=10?a+"":"0"+a,u=r>=10?r+"":"0"+r,l="";return i>0?(1==n&&"0"==s.charAt(0)&&(s=s.substring(1,s.length)),l=1==t?s+"\u65f6"+c+"\u5206"+u+"\u79d2":s+":"+c+":"+u):(1==n&&"0"==c.charAt(0)&&(c=c.substring(1,c.length)),l=1==t?c+"\u5206"+u+"\u79d2":c+":"+u),l},e.isLog=!0,e}();n.default=r,cc._RF.pop()},{"./Tool/Tool_Tween":"Tool_Tween","./Tool2D":"Tool2D","./Tool3D":"Tool3D"}],UnitBehaviorClass:[function(e,t,n){"use strict";cc._RF.push(t,"46551vsu7hAVpCQlu0Xi+ww","UnitBehaviorClass"),Object.defineProperty(n,"__esModule",{value:!0}),n.UnitBehaviorClass=void 0,n.UnitBehaviorClass={},cc._RF.pop()},{}],UnitClass:[function(e,t,n){"use strict";cc._RF.push(t,"5664bbZvNRDCruydsrh0uvB","UnitClass"),Object.defineProperty(n,"__esModule",{value:!0}),n.UnitClass=void 0;var o=e("../../../../Engine/Tool/Tool"),i=e("../../../Unit/Unit"),a=e("../../Unit/Chicken"),r=e("../../Unit/Feather"),s=e("../../Unit/Fist"),c=e("../../Unit/Score");n.UnitClass={Unit:i.default,Score:c.default,Fist:s.default,Chicken:a.default,Feather:r.default,getKey:function(e){return o.default.findKey(n.UnitClass,e)}},cc._RF.pop()},{"../../../../Engine/Tool/Tool":"Tool","../../../Unit/Unit":"Unit","../../Unit/Chicken":"Chicken","../../Unit/Feather":"Feather","../../Unit/Fist":"Fist","../../Unit/Score":"Score"}],UnitComponent:[function(e,t,n){"use strict";cc._RF.push(t,"13ffcGsj8VIkbnxFODbXjIP","UnitComponent"),Object.defineProperty(n,"__esModule",{value:!0}),n.UnitComponent=void 0,n.UnitComponent={},cc._RF.pop()},{}],UnitConfig:[function(e,t,n){"use strict";cc._RF.push(t,"55d80jDzLtJtbMS4dnMcfPy","UnitConfig"),Object.defineProperty(n,"__esModule",{value:!0}),n._EUnitType=void 0,function(e){e.Score="Score",e.Fist="Fist",e.Chicken="Chicken",e.Feather="Feather"}(n._EUnitType||(n._EUnitType={})),cc._RF.pop()},{}],UnitDecisionClass:[function(e,t,n){"use strict";cc._RF.push(t,"9a3aaj8gMJMrYKWT1xDXjCo","UnitDecisionClass"),Object.defineProperty(n,"__esModule",{value:!0}),n.UnitDecisionClass=void 0,n.UnitDecisionClass={},cc._RF.pop()},{}],UnitEventName:[function(e,t,n){"use strict";cc._RF.push(t,"a7b4e6GaLNFWrlsjHGrUsPd","UnitEventName"),Object.defineProperty(n,"__esModule",{value:!0});n.default=function(){this.Unit_CreateUnit="Unit_CreateUnit",this.Unit_CreateUnitComplete="Unit_CreateUnitComplete",this.Unit_ReuseUnit="Unit_ReuseUnit",this.Unit_GetUnit="Unit_GetUnit",this.Unit_RemoveUnit="Unit_RemoveUnit",this.Unit_UpdateData="Unit_UpdateData",this.Unit_GetDynamicData="Unit_GetDynamicData",this.Unit_GetInitEntry="Unit_GetInitEntry",this.Unit_GetDynamicEntry="Unit_GetDynamicEntry",this.Unit_SetProperty="Unit_SetProperty",this.Unit_Controling="Unit_Controling",this.Unit_ControlEnd="Unit_ControlEnd",this.Unit_SetAnimation="Unit_SetAnimation",this.Unit_MoveMapEdge="Unit_MoveMapEdge",this.Unit_SetSkillCD="Unit_SetSkillCD",this.Unit_Injured="Unit_Injured",this.Unit_InjuredComplete="Unit_InjuredComplete",this.Unit_Death="Unit_Death",this.Unit_Revive="Unit_Revive"},cc._RF.pop()},{}],UnitManager:[function(e,t,n){"use strict";cc._RF.push(t,"b3676u4qeJKoaN10Dn/ETUo","UnitManager");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../Engine/Basic/BasicManager"),r=e("../../Engine/Event/EventManager"),s=e("../../Engine/Tool/Tool"),c=e("../Game/Data/Unit/UnitClass"),u=e("../Event/GameEventName"),l=function(e){function t(){var t=e.call(this)||this;return s.default.log("\u751f\u6210\u5b9e\u4f53\u5355\u5143\u7ba1\u7406\u5668"),t.units=new Map,t.unitTypes=new Map,r.default.onEvent(u.default.Time.Time_ConstFrame,t,t._update),r.default.onEvent(u.default.Unit.Unit_CreateUnit,t,t.onCreateUnit),r.default.onEvent(u.default.Unit.Unit_CreateUnitComplete,t,t.onCreateUnitEnd,1),r.default.onEvent(u.default.Unit.Unit_GetUnit,t,t.getUnitByunitID),r.default.onEvent(u.default.Unit.Unit_RemoveUnit,t,t.onRemoveUnit),r.default.onEvent(u.default.Game_EndGame,t,t.onEndGame),t}return i(t,e),t.prototype.onEndGame=function(){var e=this;this.updateComponents.forEach(function(t,n){var o=t.size;t.forEach(function(e,n){1==e.createUnit.isDestroy&&t.delete(n)}),o!=t.size&&(t.size>0?e.updateComponents.set(n,t):e.updateComponents.delete(n))})},t.prototype.onCreateUnit=function(e){var t,n=this.unitTypes.get(e.type)||new Map;if(!(null!=n&&n.size>0&&(n.forEach(function(n){if(0==n.fgui.visible&&null==t)return t=n,void r.default.sendEvent(u.default.Unit.Unit_ReuseUnit,n,e)}),null!=t))){var o=new c.UnitClass[e.type](e);this.units.set(o.id,o),n.set(o.id,o),this.unitTypes.set(o.type,n)}},t.prototype.onCreateUnitEnd=function(e){var t=this.unitTypes.get(e.createUnit.type)||new Map;t.set(e.id,e),this.updateComponents.set(e.createUnit.type,t)},t.prototype.onRemoveUnit=function(e){var t=this;if(null==e)this.units.forEach(function(e,n){1==e.createUnit.isDestroy&&t.onRemoveUnit(n)});else if(1==this.units.has(e)){var n=this.units.get(e);this.units.delete(e),this.unitTypes.get(n.createUnit.type).delete(e),this.updateComponents.delete(e);var o=n.fgui;n._destroy(),o.removeFromParent()}},t.prototype.getUnitByunitID=function(e){if(null!=e.unitID){var t=this.units.get(e.unitID);null!=t&&e.callback(t)}else if(null!=e.teamID){var n=new Map;this.units.forEach(function(t){e.type!=t.type&&1!=t.createUnit.teamID.includes(e.teamID)||n.set(t.id,t)}),e.callback(n)}else if(1!=e.isLiving)e.callback(this.units);else{var o=new Map;this.units.forEach(function(t){e.type!=t.type&&1!=t.createUnit.teamID.includes(e.teamID)||o.set(t.id,t)}),e.callback(o)}},t.prototype._destroy=function(){s.default.log("\u9500\u6bc1\u5b9e\u4f53\u5355\u5143\u7ba1\u7406\u5668"),this.units.forEach(function(e){e._destroy()}),this.units=null,this.unitTypes=null,e.prototype._destroy.call(this)},t}(a.default);n.default=l,cc._RF.pop()},{"../../Engine/Basic/BasicManager":"BasicManager","../../Engine/Event/EventManager":"EventManager","../../Engine/Tool/Tool":"Tool","../Event/GameEventName":"GameEventName","../Game/Data/Unit/UnitClass":"UnitClass"}],Unit:[function(e,t,n){"use strict";cc._RF.push(t,"87aaeWkRUJOB4R9mCzBlhgC","Unit");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../Engine/Basic/BasicObject"),r=e("../../Engine/Event/EventManager"),s=e("../../Engine/Tool/Tool"),c=e("../Event/GameEventName"),u=function(e){function t(t){var n=e.call(this)||this;return n._createUnit=t,null!=n._createUnit.unitID&&(n._id=n._createUnit.unitID),n.createNode(),n.createComponents(),s.default.log(n),r.default.sendEvent(c.default.Unit.Unit_CreateUnitComplete,n),n}return i(t,e),Object.defineProperty(t.prototype,"createUnit",{get:function(){return this._createUnit},enumerable:!1,configurable:!0}),t}(a.default);n.default=u,cc._RF.pop()},{"../../Engine/Basic/BasicObject":"BasicObject","../../Engine/Event/EventManager":"EventManager","../../Engine/Tool/Tool":"Tool","../Event/GameEventName":"GameEventName"}],UserConfig:[function(e,t,n){"use strict";cc._RF.push(t,"49a76ClgVdDgLRy+hzNyPfZ","UserConfig"),Object.defineProperty(n,"__esModule",{value:!0}),cc._RF.pop()},{}],UserDataEventName:[function(e,t,n){"use strict";cc._RF.push(t,"f78dexpmy5AU5zktNveXlxv","UserDataEventName"),Object.defineProperty(n,"__esModule",{value:!0});n.default=function(){this.UserData_ReadUserData="UserData_ReadUserData",this.UserData_SetUserData="UserData_SetUserData",this.UserData_GetUserData="UserData_GetUserData",this.UserData_UpdateUserData="UserData_UpdateUserData"},cc._RF.pop()},{}],UserData:[function(e,t,n){"use strict";cc._RF.push(t,"71b6f8WsNNNV6swcUHn7uyY","UserData");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../../Engine/Basic/BasicObject"),r=e("../../Engine/Event/EventManager"),s=e("../../Engine/Resources/JsonResources"),c=e("../../Engine/Tool/Tool"),u=e("../Data/GameDataType"),l=e("../Event/GameEventName"),f=function(e){function t(){var t=e.call(this)||this;return t.read(),t.save(),r.default.onEvent(l.default.UserData.UserData_SetUserData,t,t.onSetUserData),r.default.onEvent(l.default.UserData.UserData_GetUserData,t,t.onGetUserData),t}return i(t,e),t.prototype.save=function(){var e=new Date;this.userData.offLineTime={year:e.getFullYear(),month:e.getMonth(),day:e.getDay(),hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds()},r.default.sendEvent(l.default.UserData.UserData_UpdateUserData,this.userData)},t.prototype.read=function(){var e;e=cc.sys.platform==cc.sys.DESKTOP_BROWSER?window.sessionStorage.getItem("UserInfo"):cc.sys.localStorage.getItem("UserInfo");var t=s.default.getResources(u._EGameJsonRes.UserDataConfig),n=t.userData;this.userData=c.default.dataAllCover({},t.userData),null!=e&&""!=e&&(n=JSON.parse(e),this.userData=c.default.dataSupplementCover(n,this.userData)),r.default.sendEvent(l.default.UserData.UserData_ReadUserData,u._EGameBehavior.InitLoad)},t.prototype.onSetUserData=function(e){this.userData=c.default.dataSupplementCover(this.userData,e),this.save()},t.prototype.onGetUserData=function(e){e(c.default.dataAllCover({},this.userData))},t.prototype._destroy=function(){this.userData=null,e.prototype._destroy.call(this)},t}(a.default);n.default=f,cc._RF.pop()},{"../../Engine/Basic/BasicObject":"BasicObject","../../Engine/Event/EventManager":"EventManager","../../Engine/Resources/JsonResources":"JsonResources","../../Engine/Tool/Tool":"Tool","../Data/GameDataType":"GameDataType","../Event/GameEventName":"GameEventName"}],ViewConfig:[function(e,t,n){"use strict";cc._RF.push(t,"38bachzvXhB9YcIroDoBm5F","ViewConfig"),Object.defineProperty(n,"__esModule",{value:!0}),cc._RF.pop()},{}],ViewEventName:[function(e,t,n){"use strict";cc._RF.push(t,"3628eN8qGNCbJZ4sJlzih3A","ViewEventName"),Object.defineProperty(n,"__esModule",{value:!0});n.default=function(){this.View_ShowView="View_ShowView",this.View_HideView="View_HideView",this.View_DestroyView="View_DestroyView",this.View_IsShowView="View_IsShowView",this.View_MoveView="View_MoveView"},cc._RF.pop()},{}],ViewManager:[function(e,t,n){"use strict";cc._RF.push(t,"88447zPPWlABZr1NVxgzhJ5","ViewManager");var o,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var a=e("../Basic/BasicEvent"),r=e("../Basic/BasicManager"),s=e("../Data/CommonDataType"),c=e("../Event/EventName"),u=e("../Event/EventManager"),l=e("../Resources/JsonResources"),f=e("../Tool/Tool"),h=function(e){function t(){var t=e.call(this)||this;return f.default.log("\u751f\u6210\u89c6\u7a97\u7ba1\u7406\u5668"),t.views=new Array,t.loadStates=new Array,fgui.GRoot.create(),fgui.GRoot.inst.node.z=1,u.default.onEvent(c.EventName.View.View_ShowView,t,t.onShow),u.default.onEvent(c.EventName.View.View_HideView,t,t.onHide),u.default.onEvent(c.EventName.View.View_DestroyView,t,t._onDestroy),u.default.onEvent(c.EventName.View.View_IsShowView,t,t.isShow),t}return i(t,e),t.prototype.isShow=function(e,t){null==this.views[e.resPath]||null==this.views[e.resPath].fgui||1!=this.views[e.resPath].fgui.visible?t(!1):t(!0)},t.prototype.onShow=function(e,t){var n=this;t instanceof a.default==1&&(t=null),null==this.loadStates[e.resPath]?(this.loadStates[e.resPath]=0,cc.assetManager.loadBundle("res/fgui",function(o,i){fgui.UIPackage.loadPackage(i,e.resPath,function(o){f.default.log(o),n.loadStates[e.resPath]=1;var i=fgui.UIPackage.createObject(e.resPath,"Main").asCom;i.makeFullScreen(),fgui.GRoot.inst.addChild(i);var a=l.default.getResources(s._EJsonRes.ViewConfig);null!=a.ZIndex[e.resPath]&&(i.node.zIndex=a.ZIndex[e.resPath]);var r=i.node.addComponent(e);n.views[e.resPath]=r,r.initView(i,t)})})):1==this.loadStates[e.resPath]&&(this.views[e.resPath].customData=t||{},this.views[e.resPath].refreshView(),this.views[e.resPath].fgui.visible=!0),this.currentView=e.resPath,f.default.log("show: "+this.currentView)},t.prototype.onHide=function(e){null!=this.views[e.resPath]&&(f.default.log("hide: "+e.resPath),this.views[e.resPath].clearView(),this.views[e.resPath].fgui.visible=!1)},t.prototype._onDestroy=function(e){if(null==e){for(var t in this.views)null!=this.views[t]&&(f.default.log("destroy: "+t),this.views[t].clearView(),this.views[t]._destroy());this.views=[],this.loadStates=[]}else null!=this.views[e.resPath]&&(f.default.log("destroy: "+e.resPath),this.views[e.resPath].clearView(),this.views[e.resPath]._destroy(),this.views[e.resPath]=null,this.loadStates[e.resPath]=null)},t.prototype._destroy=function(){for(var t in f.default.log("\u9500\u6bc1\u89c6\u7a97\u7ba1\u7406\u5668"),this.views)null!=this.views[t]&&(this.views[t].clearView(),this.views[t]._destroy());fgui.GRoot.inst.node.destroy(),this.views=null,e.prototype._destroy.call(this)},t}(r.default);n.default=h,cc._RF.pop()},{"../Basic/BasicEvent":"BasicEvent","../Basic/BasicManager":"BasicManager","../Data/CommonDataType":"CommonDataType","../Event/EventManager":"EventManager","../Event/EventName":"EventName","../Resources/JsonResources":"JsonResources","../Tool/Tool":"Tool"}],ViewResources:[function(e,t,n){"use strict";cc._RF.push(t,"fd3f1Ee/spF2b7eQ2HmsoIS","ViewResources"),Object.defineProperty(n,"__esModule",{value:!0});var o=e("../Event/EventManager"),i=e("../Event/EventName"),a=e("../Tool/Tool"),r=function(){function e(){}return e.loadViewResources=function(e,t,n,r,s){var c=this;a.default.log("\u52a0\u8f7d\u89c6\u7a97\u8d44\u6e90");var u=e.length-1,l=t.length,f=u+l,h=0,p=function(){cc.assetManager.loadBundle("res/cocos",function(e,u){c.bundle=u,c.bundle.load(t,cc.SpriteFrame,function(){o.default.sendEvent(i.EventName.Res.Res_LoadProgress,h/f*n+r),h++},function(e,t){a.default.log(e);var n=c.resources.cocos||[];for(var r in t)n[t[r].name]=t[r];c.resources.cocos=n,a.default.log(c.resources),a.default.log("\u52a0\u8f7d\u5b8c\u6bd5"),a.default.log(""),null==s?o.default.sendEvent(i.EventName.Res.Res_LoadComplete):s()})})};e.length>0?cc.assetManager.loadBundle("res/fgui",function(t,s){for(var l=0;l<e.length;l++)fgui.UIPackage.loadPackage(s,e[l],function(e,t){a.default.log(e),c.resources.push(t),h<u?o.default.sendEvent(i.EventName.Res.Res_LoadProgress,h/f*n+r):p(),h++})}):p()},e.getResources=function(e){var t=e;return 1==e.includes("/")&&(t=e.substring(e.indexOf("/")+1)),this.resources.cocos[t]||this.bundle.get(e)},e.resources=new Array,e.bundle=null,e}();n.default=r,cc._RF.pop()},{"../Event/EventManager":"EventManager","../Event/EventName":"EventName","../Tool/Tool":"Tool"}],sdk:[function(e,t,n){"use strict";var o,i,a;cc._RF.push(t,"5ead8/UyexMcKcEz4bZjCsv","sdk"),Object.defineProperty(n,"__esModule",{value:!0}),n.CMD=n.MOTION=n.SDK=void 0,function(e){e[e.NONE_INTERATION=2e3]="NONE_INTERATION",e[e.FRONT_LEFT=2001]="FRONT_LEFT",e[e.FRONT_RIGHT=2002]="FRONT_RIGHT",e[e.BACK_LEFT=2003]="BACK_LEFT",e[e.BACK_RIGHT=2004]="BACK_RIGHT",e[e.ENTER_KEY=2005]="ENTER_KEY",e[e.CANCLE_KEY=2006]="CANCLE_KEY"}(o||(o={})),n.CMD=o,function(e){e[e.MOTION_STOP=0]="MOTION_STOP",e[e.MOTION_RUN=1]="MOTION_RUN",e[e.MOTION_JUMP=2]="MOTION_JUMP",e[e.MOTION_DOWN=3]="MOTION_DOWN",e[e.MOTION_LEFT=4]="MOTION_LEFT",e[e.MOTION_RIGHT=5]="MOTION_RIGHT",e[e.MOTION_FRONT=6]="MOTION_FRONT",e[e.MOTION_BACK=7]="MOTION_BACK",e[e.MOTION_LEFT_UP=8]="MOTION_LEFT_UP",e[e.MOTION_LEFT_DOWN=9]="MOTION_LEFT_DOWN",e[e.MOTION_RIGHT_UP=10]="MOTION_RIGHT_UP",e[e.MOTION_RIGHT_DOWN=11]="MOTION_RIGHT_DOWN",e[e.MOTION_STEP=12]="MOTION_STEP",e[e.MOTION_JUMP_OC=13]="MOTION_JUMP_OC",e[e.MOTION_JUMP_VERTICAL=14]="MOTION_JUMP_VERTICAL",e[e.MOTION_ROCK=15]="MOTION_ROCK",e[e.MOTION_SCISSORS=16]="MOTION_SCISSORS",e[e.MOTION_PAPER=17]="MOTION_PAPER",e[e.MOTION_STRETCH_LEFT=18]="MOTION_STRETCH_LEFT",e[e.MOTION_LIFT_LEFT=19]="MOTION_LIFT_LEFT",e[e.MOTION_STRETCH_RIGHT=20]="MOTION_STRETCH_RIGHT",e[e.MOTION_LIFT_RIGHT=21]="MOTION_LIFT_RIGHT",e[e.MOTION_STRETCH_FRONT_LEFT=22]="MOTION_STRETCH_FRONT_LEFT",e[e.MOTION_STRETCH_FRONT_RIGHT=23]="MOTION_STRETCH_FRONT_RIGHT",e[e.MOTION_DOWN_FRONT=24]="MOTION_DOWN_FRONT",e[e.NUMBERS_OF_MOTION=25]="NUMBERS_OF_MOTION"}(i||(i={})),n.MOTION=i,function(e){e[e.FREQ=1e3]="FREQ"}(a||(a={}));var r=function(e,t){this._target=e,this._fn=t},s=new(function(){function e(){this._ver=1,this._events={},this._motion=[0,0,0,0],this._motionTime=[0,0,0,0],this._responseCallMap={string:Function},this._inited=!1}return e.prototype.callback=function(e,t){console.log("callback "+e+" "+t);var n=this._responseCallMap[e];n&&n.call(n,t)},e.prototype.isMotion=function(e,t){var n=new Date,o=this._motion[e]>0&&n.getTime()-this._motionTime[e]<=t;return o&&(this._motion[e]=0),o},e.prototype.isLeftFootDown=function(e){return void 0===e&&(e=1e3/60),this.isMotion(0,e)},e.prototype.isRightFootDown=function(e){return void 0===e&&(e=1e3/60),this.isMotion(1,e)},e.prototype.getCmd=function(){var e=this._cmd;return e>0&&(this._cmd=0),e},e.prototype.cmd=function(e,t){this._cmd=t+o.NONE_INTERATION;var n=(new Date).getTime();n-this._cmdTime<500||(this._cmdTime=n,console.log("cmd set "+t+" "+this._cmd),this.emit(this._cmd.toString(),n))},e.prototype.getMotion=function(){return this._motion},e.prototype.motion=function(e,t,n,o,a,r){this._motion[0]=n,this._motion[1]=o,this._motion[2]=a,this._motion[3]=r,console.log("motion set "+this._motion);for(var s=(new Date).getTime(),c=this._motion,u=0;u<c.length;u++)if(c[u]>0){if(s-this._motionTime[u]<10)continue;this._motionTime[u]=s;var l=c[u],f=l.toString();this.emit(f,s),console.log("motion set "+l+" -> "+f+" "+i[l])}},e.prototype.getStepFreq=function(){return this._stepFreq},e.prototype.getStepCount=function(){return this._stepCount},e.prototype.getVelocity=function(){return this._velocity},e.prototype.stepFreq=function(e){this._stepFreq=e,console.log("step freq "+e),this.emit(a.FREQ.toString(),e)},e.prototype.step=function(e,t){this.stepFreq(e),this._stepCount=t,console.log("step count "+t)},e.prototype.stepData=function(e,t,n){this.stepFreq(e),this._stepCount=t,this._velocity=n},e.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=this._events[e]||[];return o.length>0&&(console.log("motion emit "+e+", "+o.length),o.forEach(function(e){return e._fn.apply(e._target||e._fn,t)})),this},e.prototype.on=function(e,t,n){this._inited||(this._inited=!0,this.onSdkLoaded());var o=this._events[e]||[];return t&&o.push(new r(n||this,t)),console.log("motion set on "+e+", "+o.length),this._events[e]=o,this},e.prototype.once=function(e,t,n){var o=this,i=function(){for(var a=[],r=0;r<arguments.length;r++)a[r]=arguments[r];t&&t.apply(n||o,a),o.off(e,i)};return this.on(e,i),this},e.prototype.off=function(e,t){var n=this._events[e]||[];return this._events[e]=n.filter(function(e){return e._fn!==t}),this},e.prototype.remove=function(e,t){return this._events[e]=[],t&&t(),this},e.prototype.onSdkLoaded=function(){this._callsdk("onLoad",{ver:this._ver})},e.prototype.onBackPressed=function(e){void 0===e&&(e=!1),this._callsdk("onBackPressed",{foot:e})},e.prototype.onGameStart=function(){this._callsdk("onGameStart",{})},e.prototype.onGameEnd=function(e,t,n,o,i,a){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===o&&(o=0),void 0===i&&(i=0),a&&(this._responseCallMap.onGameEnd_callback=a),this._callsdk("onGameEnd",{level:e,score:t,record:n,mode:o,opponentId:i})},e.prototype.getUserInfo=function(e){var t="getUserInfo_callback";this._responseCallMap[t]=e,this._callsdk(t,{callback:t})},e.prototype.getRank=function(e,t){var n="getRank_callback";this._responseCallMap[n]=t,this._callsdk(n,{callback:n,type:e})},e.prototype.vibrate=function(e,t){void 0===t&&(t=0),this._callsdk("vibrate",{duration:e,leftOrRight:t})},e.prototype.openGameData=function(e,t){this._gameDataCallback=t,this._callsdk("openGameData",{open:e})},e.prototype.gameData=function(e){this._gameDataCallback&&this._gameDataCallback.call(this._gameDataCallback,e)},e.prototype._callsdk=function(e,t){console.log("sdk call "+e),window.SDKBridge&&window.SDKBridge.postMessage(JSON.stringify({method:e,args:t}))},e}());n.SDK=s,window.SHOES_SDK=s,cc._RF.pop()},{}]},{},["BasicEvent","BasicManager","BasicObject","BasicTreeBehaviorNode","BasicTreeControlNode","BasicTreeDecisionNode","BasicTreePreconditionNode","BasicView","FrameAnimation","LoadProgress","Popup","CommonDataType","MusicResData","FrameConfig","ViewConfig","Engine","BehaviorEventName","ComponentEventName","EventManager","EventName","MusicEventName","PhoneEventName","ResEventName","TimeEventName","ViewEventName","MusicManager","JsonResources","ModelResources","MusicResources","ViewResources","TimeManager","Tool","Tool2D","Tool2D_Button","Tool3D","Tool3D_Tween","CreateID","Eval","Tool_Tween","ViewManager","GameBehaviorTree","Game_Gameing_Behavior","Game_Hall_Behavior","Game_Hall_Precondition","Game_InitLoad_Behavior","Game_Login_Behavior","Game_Over_Behavior","Game_Precondition","Game_WaitStart_Behavior","Background","KeyBoardControl","DataManager","GameDataType","UserConfig","BuffEventName","EffectEventName","FightEventName","GameEventName","PropEventName","RobotEventName","SDKEventName","SkillEventName","UnitEventName","UserDataEventName","ArrowFly","GameMusicResData","UnitBehaviorClass","UnitClass","UnitComponent","UnitConfig","UnitDecisionClass","GameManager","Chicken","ChickenList","Feather","Fist","Score","AttackChickenView","ExplainView","SDKManager","sdk","Unit","UnitManager","UserData","GameView","HallView","HintView","InitLoadView","OverView","PauseView","RootScene"]);
|