Ejemplo n.º 1
0
        public static CCCatmullRomBy create(float dt, CCPointArray points)
        {
            CCCatmullRomBy cCCatmullRomBy = new CCCatmullRomBy();

            cCCatmullRomBy.initWithDuration(dt, points);
            return(cCCatmullRomBy);
        }
Ejemplo n.º 2
0
 /** creates an action with a Cardinal Spline array of points and tension */
 public static CCCatmullRomBy create(float dt, CCPointArray points)
 {
     CCCatmullRomBy by = new CCCatmullRomBy();
     by.initWithDuration(dt, points);
     return (by);
 }