Пример #1
0
        public static CCFadeIn actionWithDuration(float d)
        {
            CCFadeIn pAction = new CCFadeIn();

            pAction.initWithDuration(d);

            return(pAction);
        }
Пример #2
0
        public override CCObject copyWithZone(CCZone pZone)
        {
            CCZone   pNewZone = null;
            CCFadeIn pCopy    = null;

            if (pZone != null && pZone.m_pCopyObject != null)
            {
                //in case of being called at sub class
                pCopy = (CCFadeIn)(pZone.m_pCopyObject);
            }
            else
            {
                pCopy = new CCFadeIn();
                pZone = pNewZone = new CCZone(pCopy);
            }

            base.copyWithZone(pZone);

            return(pCopy);
        }
Пример #3
0
 public override CCFiniteTimeAction reverse()
 {
     return(CCFadeIn.actionWithDuration(m_fDuration));
 }