Exemple #1
0
        public static CCFlipX actionWithFlipX(bool x)
        {
            CCFlipX pRet = new CCFlipX();

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

            return(null);
        }
Exemple #2
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);
        }