Exemplo n.º 1
0
        private void release()
        {
            if (!hasreleased)
            {
                hasreleased = true;


                scope      = null;
                step       = null;
                callbacker = null;
                args       = null;
                whenFailed = null;
                isSuccess  = false;
                _intArg    = 0; _intArg2 = 0;


                cacheObjects[0] = null;
                cacheObjects[1] = null;
                cacheObjects[2] = null;
                cacheObjects[3] = null;
                cacheObjects[4] = null;
                cacheObjects[5] = null;
                cacheObjects[6] = null;
                cacheObjects[7] = null;
                cacheObjects[8] = null;
                cacheObjects[9] = null;

                player.blockCallBackPool.ret(this);
            }
        }
Exemplo n.º 2
0
 public void setWhenFailed(dgeCallbacker whenFailed)
 {
     this.whenFailed = whenFailed;
 }
Exemplo n.º 3
0
 public void setCallBacker(dgeCallbacker callbacker)
 {
     this.callbacker = callbacker;
 }