Exemplo n.º 1
0
 public bool initWithTarget(SelectorProtocol pSelectorTarget, SEL_CallFuncN selector)
 {
     if (!base.initWithTarget(pSelectorTarget))
     {
         return(false);
     }
     this.m_pCallFuncN = selector;
     return(true);
 }
Exemplo n.º 2
0
        public static CCCallFuncN actionWithTarget(SelectorProtocol pSelectorTarget, SEL_CallFuncN selector)
        {
            CCCallFuncN cCCallFuncN = new CCCallFuncN();

            if (cCCallFuncN != null && cCCallFuncN.initWithTarget(pSelectorTarget, selector))
            {
                return(cCCallFuncN);
            }
            return(null);
        }
Exemplo n.º 3
0
        // todo
        //public static CCCallFuncN actionWithScriptFuncName(string pszFuncName) 
        //{
        //    CCCallFuncN pRet = new CCCallFuncN();

        //    if (pRet && pRet->initWithScriptFuncName(pszFuncName)) {
        //        pRet->autorelease();
        //        return pRet;
        //    }

        //    CC_SAFE_DELETE(pRet);
        //    return NULL;
        //}

        public bool initWithTarget(SelectorProtocol pSelectorTarget, SEL_CallFuncN selector) 
        {
	        if (base.initWithTarget(pSelectorTarget)) 
            {
		        m_pCallFuncN = selector;
		        return true;
	        }

	        return false;
        }
Exemplo n.º 4
0
        public static CCCallFuncN actionWithTarget(SelectorProtocol pSelectorTarget, SEL_CallFuncN selector)
        {
            CCCallFuncN pRet = new CCCallFuncN();

            if (pRet != null && pRet.initWithTarget(pSelectorTarget, selector))
            {
                return pRet;
            }

            return null;
        }
Exemplo n.º 5
0
        public static CCCallFuncN actionWithTarget(SelectorProtocol pSelectorTarget, SEL_CallFuncN selector)
        {
            CCCallFuncN pRet = new CCCallFuncN();

            if (pRet != null && pRet.initWithTarget(pSelectorTarget, selector))
            {
                return(pRet);
            }

            return(null);
        }
Exemplo n.º 6
0
 public CCCallFuncN()
 {
     this.m_pCallFuncN = null;
 }
Exemplo n.º 7
0
 public CCCallFuncN() : base()
 {
     m_pCallFuncN = null;
 }
Exemplo n.º 8
0
		public bool InitWithTarget(SEL_CallFuncN selector)
        {
            m_pCallFuncN = selector;
            return false;
        }
Exemplo n.º 9
0
 public CCCallFuncN (SEL_CallFuncN selector)
 {
     InitWithTarget(selector);
 }
Exemplo n.º 10
0
 public CCCallFuncN() : base()
 {
     m_pCallFuncN = null;
 }
Exemplo n.º 11
0
 public bool InitWithTarget(SEL_CallFuncN selector)
 {
     m_pCallFuncN = selector;
     return(false);
 }
Exemplo n.º 12
0
 public CCCallFuncN(SEL_CallFuncN selector)
 {
     InitWithTarget(selector);
 }