author suo
  module FishingJoy { export class SimpleOperation extends BaseOperation { private _gameObj : gameObject . GameObject ; public constructor ( ) { super ( ) ; } /**
         * 注册
         */ public register ( gameObj ) { this . _gameObj = gameObj ; let time = MathUtil . random ( 5000 , 15000 ) ; } /**
         * 缓动完毕
         */ private _onTweenComplete ( ) { if ( this . _gameObj ) { if ( this . _gameObj instanceof gameObject . Fish ) { if ( this . _gameObj . isAlive ) { gameObject . GameObjectFactory . instance . recoverGameObject ( this . _gameObj ) ; } } } } /**
         * 反注册
         */ public unregister ( ) { egret . Tween . removeTweens ( this . _gameObj ) ; this . _gameObj = null ; } } }