Beispiel #1
0
        public static CCFadeOut actionWithDuration(float d)
        {
            CCFadeOut pAction = new CCFadeOut();

            pAction.initWithDuration(d);

            return(pAction);
        }
Beispiel #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);
        }
Beispiel #3
0
 public override CCFiniteTimeAction reverse()
 {
     return(CCFadeOut.actionWithDuration(m_fDuration));
 }