author suo
  module gameObject { export class ElectricEel extends Fish { /**
         * 死亡后发动电击表现完毕后的 延迟句柄
         */ public playDieEffCB : Handler ; /**
         * 闪电圈
         */ public eletricEff : egret . MovieClip ; public constructor ( ) { super ( ) ; } /**
         * 初始化一次
         */ public loadConfigData ( data ) { super . loadConfigData ( data ) ; this . eletricEff = Pool . getItemByCreateFun ( Pool . ElectricEffBurst_Big , Handler . create ( FishingJoy . UIUtil , FishingJoy . UIUtil . creatMovieClip , [ "electricBrust" ] ) ) ; this . eletricEff . scaleX = this . eletricEff . scaleY = 0.6 ; } /**
         * 被冻住了
         */ public isFreeze ( ) { super . isFreeze ( ) ; this . eletricEff . stop ( ) ; } /**
         * 恢复正常状态
         */ public isResetNormal ( ) { super . isResetNormal ( ) ; ; this . eletricEff . gotoAndPlay ( 1 , - 1 ) ; } /**
         * 初始化
         */ public initialize ( ) { super . initialize ( ) ; this . eletricEff . x = 20 ; this . eletricEff . y = 0 ; this . addChildAt ( this . eletricEff , 0 ) ; this . eletricEff . gotoAndPlay ( 1 , - 1 ) ; } /**
         * 反初始化
         */ public uninitialize ( ) { this . eletricEff . parent . removeChild ( this . eletricEff ) ; this . eletricEff . stop ( ) ; this . playDieEffCB = null ; super . uninitialize ( ) ; } /**
         * 释放
         */ public dispose ( ) { Pool . recover ( Pool . ElectricEffBurst_Big , this . eletricEff ) ; super . dispose ( ) ; } } }