示例#1
0
        public static CCFlipY actionWithFlipY(bool y)
        {
            CCFlipY pRet = new CCFlipY();

            if (pRet != null && pRet.initWithFlipY(y))
            {
                return(pRet);
            }

            return(null);
        }
示例#2
0
        public override CCObject copyWithZone(CCZone pZone)
        {
            CCZone  pNewZone = null;
            CCFlipY pRet     = null;

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

            base.copyWithZone(pZone);
            pRet.initWithFlipY(m_bFlipY);
            return(pRet);
        }