Ejemplo n.º 1
0
        public static CCFadeOut actionWithDuration(float d)
        {
            CCFadeOut pAction = new CCFadeOut();

            pAction.initWithDuration(d);

            return(pAction);
        }
Ejemplo n.º 2
0
        public override CCObject copyWithZone(CCZone pZone)
        {
            CCZone    pNewZone = null;
            CCFadeOut pCopy    = null;

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

            base.copyWithZone(pZone);

            return(pCopy);
        }
Ejemplo n.º 3
0
 public override CCFiniteTimeAction reverse()
 {
     return(CCFadeOut.actionWithDuration(m_fDuration));
 }