예제 #1
0
        public static CCCatmullRomTo create(float dt, CCPointArray points)
        {
            CCCatmullRomTo cCCatmullRomTo = new CCCatmullRomTo();

            cCCatmullRomTo.initWithDuration(dt, points);
            return(cCCatmullRomTo);
        }
예제 #2
0
 /** creates an action with a Cardinal Spline array of points and tension */
 public static CCCatmullRomTo create(float dt, CCPointArray points)
 {
     CCCatmullRomTo ret = new CCCatmullRomTo();
     ret.initWithDuration(dt, points);
     return ret;
 }
예제 #3
0
 public static CCCatmullRomTo actionWithDuration(float dt, CCPointArray points)
 {
     return(CCCatmullRomTo.create(dt, points));
 }