/** 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;
 }
 public static CCActionTween actionWithDuration(float aDuration, string key, float from, float to, CCActionTweenDelegate d)
 {
     return CCActionTween.create(aDuration, key, from, to, d);
 }
 public CCActionTween(CCActionTweenDelegate d)
 {
     m_pDelegate = d;
 }
示例#4
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);
        }
示例#5
0
 public static CCActionTween actionWithDuration(float aDuration, string key, float from, float to, CCActionTweenDelegate d)
 {
     return(CCActionTween.create(aDuration, key, from, to, d));
 }
示例#6
0
 public CCActionTween(CCActionTweenDelegate d)
 {
     m_pDelegate = d;
 }