예제 #1
0
        /** creates an initializes the action with the property name (key), and the from and to parameters. */
        public static CCActionTween create(float aDuration, string key, float from, float to, CCActionTweenDelegate d)
        {
            CCActionTween pRet = new CCActionTween(d);

            pRet.initWithDuration(aDuration, key, from, to);
            return(pRet);
        }
예제 #2
0
 public static CCActionTween actionWithDuration(float aDuration, string key, float from, float to, CCActionTweenDelegate d)
 {
     return(CCActionTween.create(aDuration, key, from, to, d));
 }
예제 #3
0
 public override CCFiniteTimeAction reverse()
 {
     return(CCActionTween.create(m_fDuration, m_strKey, m_fTo, m_fFrom, m_pDelegate));
 }