Пример #1
0
        public static CCFlipX actionWithFlipX(bool x)
        {
            CCFlipX cCFlipX = new CCFlipX();

            if (cCFlipX != null && cCFlipX.initWithFlipX(x))
            {
                return(cCFlipX);
            }
            return(null);
        }
Пример #2
0
        public static CCFlipX actionWithFlipX(bool x)
        {
            CCFlipX pRet = new CCFlipX();

            if (pRet != null && pRet.initWithFlipX(x))
            {
                return(pRet);
            }

            return(null);
        }
Пример #3
0
        public static CCFlipX actionWithFlipX(bool x)
        {
            CCFlipX pRet = new CCFlipX();

            if (pRet != null && pRet.initWithFlipX(x))
            {
                return pRet;
            }

            return null;
        }
Пример #4
0
        public override CCObject copyWithZone(CCZone pZone)
        {
            CCFlipX cCFlipX = null;

            if (pZone == null || pZone.m_pCopyObject == null)
            {
                cCFlipX = new CCFlipX();
                pZone   = new CCZone(cCFlipX);
            }
            else
            {
                cCFlipX = (CCFlipX)pZone.m_pCopyObject;
            }
            base.copyWithZone(pZone);
            cCFlipX.initWithFlipX(this.m_bFlipX);
            return(cCFlipX);
        }
Пример #5
0
        public override CCObject copyWithZone(CCZone pZone)
        {
            CCZone  pNewZone = null;
            CCFlipX pRet     = null;

            if (pZone != null && pZone.m_pCopyObject != null)
            {
                pRet = (CCFlipX)(pZone.m_pCopyObject);
            }
            else
            {
                pRet  = new CCFlipX();
                pZone = pNewZone = new CCZone(pRet);
            }

            base.copyWithZone(pZone);
            pRet.initWithFlipX(m_bFlipX);
            return(pRet);
        }
Пример #6
0
        public override CCObject copyWithZone(CCZone pZone)
        {
            CCZone pNewZone = null;
            CCFlipX pRet = null;

            if (pZone != null && pZone.m_pCopyObject != null)
            {
                pRet = (CCFlipX)(pZone.m_pCopyObject);
            }
            else
            {
                pRet = new CCFlipX();
                pZone = pNewZone = new CCZone(pRet);
            }

            base.copyWithZone(pZone);
            pRet.initWithFlipX(m_bFlipX);
            return pRet;
        }
Пример #7
0
 public override CCFiniteTimeAction reverse()
 {
     return(CCFlipX.actionWithFlipX(!this.m_bFlipX));
 }