Пример #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 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;
 }